]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iwlwifi: do not set the sequence control bit is not needed
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 8 Dec 2011 23:52:00 +0000 (15:52 -0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 10 Jan 2012 21:00:31 +0000 (13:00 -0800)
commit87f9d632403573591b2a594bfe6b0fee34804f42
treed34cfa0f9ce41bdb5c2ee1681fdc1be769d47793
parent21a8b8fadc86ade05ffa216591c5f539ed55431f
iwlwifi: do not set the sequence control bit is not needed

commit 123877b80ed62c3b897c53357b622574c023b642 upstream.

Check the IEEE80211_TX_CTL_ASSIGN_SEQ flag from mac80211, then decide how to
set the TX_CMD_FLG_SEQ_CTL_MSK bit. Setting the wrong bit in BAR frame whill
make the firmware to increment the sequence number which is incorrect and
cause unknown behavior.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c