]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mvm: fix AP STA comparison
authorJohannes Berg <johannes.berg@intel.com>
Sun, 29 Dec 2024 14:44:41 +0000 (16:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:42 +0000 (15:26 +0100)
commit16b2092c4b26ddc266bf23f1d1c46cd032355b69
treec64606a2c83e308a3a3c1b45be1773645cc0e046
parent8c734445faf9a3c3cdb42c240e8687d5555d806c
wifi: iwlwifi: mvm: fix AP STA comparison

This should be comparing the AP STA, not the deflink firmware STA
ID. Correct the implementation so that statistics can be requested
for the AP, but not for other stations that may end up with the
firmware STA ID matching 0 in the deflink, or so.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241229164246.08b05aca37cf.Iba1a6a637a758691f710dc4f3f03bd1d960fb087@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c