iwmc3200wifi: make iwm_send_wifi_if_cmd return 0 on success
commitb6c321718e1376b1a55afc63cce090a2c4573417
authorZhu Yi <yi.zhu@intel.com>
Thu, 16 Jul 2009 09:34:12 +0000 (16 17:34 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:21 +0000 (24 15:05 -0400)
treea9b37daf3ee6a1787ef879eecf50f0398ef0a22b
parent0e371f1a0c0acd4abfa052b01e7b1f4a71ef6590
iwmc3200wifi: make iwm_send_wifi_if_cmd return 0 on success

We used to return the result of wait_event_interruptible_timeout()
which is the remaining timeout on success. But this information is
not used by any of its callers. So we just return 0 on success.
This fixed a erroneous return value bug for iwm_set_key().

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/commands.c