diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-10-26 17:34:49 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-11-07 14:40:44 +0100 |
commit | bb9df91cfe651d418719c52a4f47d4a49ac06609 (patch) | |
tree | 35bf207a011e577c675ab5c7ef3a727e82992a06 /drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | |
parent | 9c46a3a5b394d6d123866aa44436fc2cd342eb0d (diff) | |
download | linux-bb9df91cfe651d418719c52a4f47d4a49ac06609.tar.gz linux-bb9df91cfe651d418719c52a4f47d4a49ac06609.tar.bz2 linux-bb9df91cfe651d418719c52a4f47d4a49ac06609.zip |
wifi: cfg80211: Fix an error handling path in nl80211_start_ap()
All error handling paths go to "out", except this one. Before the
commit in Fixes, error in the previous code would also end to "out",
freeing the memory.
Move the code up to avoid the leak.
Fixes: 62262dd00c31 ("wifi: cfg80211: disallow SMPS in AP mode")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/eae54ce066d541914f272b10cab7b263c08eced3.1729956868.git.christophe.jaillet@wanadoo.fr
[move code, update commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/mvm.h')
0 files changed, 0 insertions, 0 deletions