]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Dec 2011 19:23:27 +0000 (14:23 -0500)
commit123877b80ed62c3b897c53357b622574c023b642
tree61104e080b0211de41e6e7741f16d5bbab05b3a4
parent329456d1ffb416c220813725b7363cda9975c9aa
iwlwifi: do not set the sequence control bit is not needed

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.

CC: stable@vger.kernel.org #3.0+
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c