]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: return 0 for AMPDU_TX/RX_STOP request if NIC is going down
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 18 Mar 2009 04:51:43 +0000 (21:51 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:57 +0000 (20:12 -0400)
commit86c48bff5a5b85f50590be5c3be0bee8e7b8ea5c
tree0cef2f9713b33626d21843b0a3cf0fd1062b7054
parentcae4fb62ef6165fcbe5faac1ef305a63d4e72eb8
iwlwifi: return 0 for AMPDU_TX/RX_STOP request if NIC is going down

When receive IEEE80211_AMPDU_RX_STOP or IEEE80211_AMPDU_TX_STOP request
in iwl_mac_ampdu_action() from mac80211; check STATUS_EXIT_PENDING bit,
if NIC is on the way out, then return 0 back to mac80211, this can
prevent mac80211 report HW error incorrectly.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c