From: Wey-Yi Guy Date: Wed, 18 Mar 2009 04:51:43 +0000 (-0700) Subject: iwlwifi: return 0 for AMPDU_TX/RX_STOP request if NIC is going down X-Git-Tag: v2.6.30-rc1~642^2^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2207c64209be2fe0d6b43ada2e41b28a948015;p=pandora-kernel.git 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 Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed