]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: properly wait for PAN disable
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Jan 2011 00:22:01 +0000 (16:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Jan 2011 20:32:21 +0000 (15:32 -0500)
commit17ba38b83f2c6b746ca053ae22b921502cc50de2
tree935d2ebaccc6537cd13b1d9e98b5d83432063c35
parent57c13b95ff0c13381e07fe98eb7c8a59b7f1db43
iwlagn: properly wait for PAN disable

Previously I hacked this with an msleep(300)
which was fine since we never had longer PAN
time slots, but now that we will have them I
need to fix that. Use the new notification
wait support to properly wait for the WIPAN
deactivation complete signal from the ucode.

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-agn-rxon.c
drivers/net/wireless/iwlwifi/iwl-commands.h
drivers/net/wireless/iwlwifi/iwl-hcmd.c