]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: cfg80211: set country_elem to NULL
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jul 2022 08:24:23 +0000 (10:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:21 +0000 (11:43 +0200)
commit53df1162f1202798bde0e5f90bd4d5907b5afdb1
treec8352b54725e9e4e189eed28b3247a113f6ce757
parent06807384b23eb3a9ad9e242269d7d15c55850efb
wifi: cfg80211: set country_elem to NULL

The link loop will always have a valid link so that
it's always set, but static checkers don't always
see that, so set it to NULL explicitly.

Fixes: fa375d4002dd ("cfg80211: Indicate MLO connection info in connect and roam callbacks")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/sme.c