]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: mvm: fix BAR seq ctrl reporting
authorSara Sharon <sara.sharon@intel.com>
Tue, 1 May 2018 11:54:22 +0000 (14:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:12:26 +0000 (11:12 -0800)
commitab9a0e99bf29a3f55252c1bfcc616e0b0be1dd97
treeb492e4bac4ddf6a2dd1a333f4bae626e257d5dff
parentdec405826694596b8dc92ab0d25bc6b6e86b581a
iwlwifi: mvm: fix BAR seq ctrl reporting

[ Upstream commit 941ab4eb66c10bc5c7234e83a7a858b2806ed151 ]

There is a bug in FW where the sequence control may be
incorrect, and the driver overrides it with the value
of the ieee80211 header.

However, in BAR there is no sequence control in the header,
which result with arbitrary sequence.

This access to an unknown location is bad and it makes the
logs very confusing - so fix it.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c