mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
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>
This commit is contained in:
parent
9fe1c50520
commit
7dddaf1a36
@ -1391,6 +1391,7 @@ void iwl_rx_handle(struct iwl_priv *priv)
|
|||||||
reclaim = !(pkt->hdr.sequence & SEQ_RX_FRAME) &&
|
reclaim = !(pkt->hdr.sequence & SEQ_RX_FRAME) &&
|
||||||
(pkt->hdr.cmd != REPLY_RX_PHY_CMD) &&
|
(pkt->hdr.cmd != REPLY_RX_PHY_CMD) &&
|
||||||
(pkt->hdr.cmd != REPLY_RX) &&
|
(pkt->hdr.cmd != REPLY_RX) &&
|
||||||
|
(pkt->hdr.cmd != REPLY_RX_MPDU_CMD) &&
|
||||||
(pkt->hdr.cmd != REPLY_COMPRESSED_BA) &&
|
(pkt->hdr.cmd != REPLY_COMPRESSED_BA) &&
|
||||||
(pkt->hdr.cmd != STATISTICS_NOTIFICATION) &&
|
(pkt->hdr.cmd != STATISTICS_NOTIFICATION) &&
|
||||||
(pkt->hdr.cmd != REPLY_TX);
|
(pkt->hdr.cmd != REPLY_TX);
|
||||||
|
Loading…
Reference in New Issue
Block a user