]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix notification wait bug
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Mar 2012 21:30:57 +0000 (13:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Mar 2012 18:56:32 +0000 (13:56 -0500)
commit118f82221091d155144c2ab3584a09baf9df09cb
tree3d0651281cb07aefc67146dac95a346f35da143a
parent2289735a69c086958de727e51e9880c3c36ef02c
iwlwifi: fix notification wait bug

In "iwlwifi: consolidate the start_device flow"
Emmanuel added the return if the fw isn't there
but forgot to take into account that the struct
for notification wait needs to be added only
after the check -- fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-ucode.c