Skip to content
Commit fcc35602 authored by Ayala Beker's avatar Ayala Beker Committed by Johannes Berg
Browse files

wifi: iwlwifi: scan: correctly check if PSC listen period is needed

The flags variable is incorrectly checked while it is still cleared and
has not been assigned any value yet.
Fix it.

Fixes: a615323f

 ("wifi: iwlwifi: mvm: always apply 6 GHz probe limitations")
Signed-off-by: default avatarAyala Beker <ayala.beker@intel.com>
Reviewed-by: default avatarBenjamin Berg <benjamin.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240605140556.291c33f9a283.Id651fe69828aebce177b49b2316c5780906f1b37@changeid
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 4c2bed60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment