]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix the size used for building probe request
authorIlan Peer <ilan.peer@intel.com>
Mon, 29 Nov 2021 13:32:45 +0000 (15:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Dec 2021 10:21:15 +0000 (11:21 +0100)
commitdd82b616f1eb75efbbd8fc57d8c21b80954981c7
tree0cc1546d2612679a7df22d81cb76946cd5d65f9d
parent3dcaad3803662b7638d4a701b6abdcbdb919fe53
mac80211: Fix the size used for building probe request

Instead of using the hard-coded value of '100' use the correct
scan IEs length as calculated during HW registration to mac80211.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211129152938.0a82d6891719.I8ded1f2e0bccb9e71222c945666bcd86537f2e35@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c