summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Halperin <daniel.c.halperin@intel.com>2008-10-24 06:48:58 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 23:02:29 (GMT)
commit7dddaf1a36a372c14ca96a0b5fdfbe2015c43841 (patch)
tree0acdcc6dac67e768f984b9c0bb6ab5eb1a7ea9c0
parent9fe1c5052019da3d2770abd7b727cbc1083f7937 (diff)
downloadlinux-7dddaf1a36a372c14ca96a0b5fdfbe2015c43841.tar.xz
iwlwifi: Update reclaim flag
The reclaim flag should include REPLY_RX_MPDU_CMD in the list of commands issued by uCode. This is for safety in case the SEQ_RX_FRAME bit is set incorrectly. Signed-off-by: Daniel Halperin <daniel.c.halperin@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 7a7caac..82e98b4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1391,6 +1391,7 @@ void iwl_rx_handle(struct iwl_priv *priv)
reclaim = !(pkt->hdr.sequence & SEQ_RX_FRAME) &&
(pkt->hdr.cmd != REPLY_RX_PHY_CMD) &&
(pkt->hdr.cmd != REPLY_RX) &&
+ (pkt->hdr.cmd != REPLY_RX_MPDU_CMD) &&
(pkt->hdr.cmd != REPLY_COMPRESSED_BA) &&
(pkt->hdr.cmd != STATISTICS_NOTIFICATION) &&
(pkt->hdr.cmd != REPLY_TX);