wifi: mac80211: always initialize match_auth
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Mar 2024 18:36:32 +0000 (19:36 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:24:12 +0000 (14:24 +0100)
commit01ad6b7be1d259cdf638eaed5c1b122d043f82bd
treeaa5b1e27501154e9262a4a3156429f90358338e1
parent416eb60317c64676d158dffea150762930ec008f
wifi: mac80211: always initialize match_auth

My previous patch only initialized match_auth when the
ifmgd->auth_data exists, but that was wrong, it should
always be set. Fix that.

Fixes: 310c8387c638 ("wifi: mac80211: clean up connection process")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/3151f5d0-c18f-413d-b34b-b94f095b947c@moroto.mountain
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240301193633.1a3fc370f211.I979dd222b3b5eb5e1437886e5f7c2355eeccb9f7@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c