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)
commitf47208934b2aba432722baeb86a72fcbfd26b593
tree3d0651281cb07aefc67146dac95a346f35da143a
parent6794f3ee1dc4a2f7ebed99a4c075f00bbebbcfdc
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