]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: add size checks for range response notification
authorAvraham Stern <avraham.stern@intel.com>
Wed, 9 Dec 2020 21:16:48 +0000 (23:16 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Dec 2020 22:16:06 +0000 (00:16 +0200)
commit6820c819b08f2a5b37122e5dc1dd256f536c53a6
tree0b1d986ab0982a678966b4fb28e922d0964f02dc
parenta60429e6e55f91712a09f66b5e4c5d1424a4c3c0
iwlwifi: mvm: add size checks for range response notification

The range response notification has several versions. Check the
notification size according to the expected notification version.
Notifications with incorrect size will be ignored.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201209231352.ee57c3214d05.I810d7de33fb08001ef1a2e24714d5b68932e088e@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c