diff options
author | 2011-01-04 16:22:01 -0800 | |
---|---|---|
committer | 2011-01-21 15:32:21 -0500 | |
commit | 311dce71b6af263a630717d77bd49cffc0d122a5 (patch) | |
tree | 935d2ebaccc6537cd13b1d9e98b5d83432063c35 /drivers/net/wireless/iwlwifi/iwl-hcmd.c | |
parent | iwlagn: add support for waiting for notifications (diff) | |
download | linux-311dce71b6af263a630717d77bd49cffc0d122a5.tar.gz linux-311dce71b6af263a630717d77bd49cffc0d122a5.tar.bz2 linux-311dce71b6af263a630717d77bd49cffc0d122a5.zip |
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-hcmd.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-hcmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-hcmd.c index c373b53babea..e4b953d7b7bf 100644 --- a/drivers/net/wireless/iwlwifi/iwl-hcmd.c +++ b/drivers/net/wireless/iwlwifi/iwl-hcmd.c @@ -108,6 +108,7 @@ const char *get_cmd_string(u8 cmd) IWL_CMD(REPLY_WIPAN_WEPKEY); IWL_CMD(REPLY_WIPAN_P2P_CHANNEL_SWITCH); IWL_CMD(REPLY_WIPAN_NOA_NOTIFICATION); + IWL_CMD(REPLY_WIPAN_DEACTIVATION_COMPLETE); default: return "UNKNOWN"; |