]> 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)
commit467c69d45e28a3914e9e83dc67d809c795c35d62
treec8352b54725e9e4e189eed28b3247a113f6ce757
parent3c812597a2336bb6b90ff3ecf7e89bcdeac05593
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: 7e55b6101cd4 ("cfg80211: Indicate MLO connection info in connect and roam callbacks")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/sme.c