linux/net/wireless/nl80211.c
Johannes Berg 07f8ea3000 wifi: nl80211: acquire wdev mutex earlier in start_ap
commit c2653990d5 upstream.

We need to hold the wdev mutex already in order to call
nl80211_parse_tx_bitrate_mask(), so acquire it earlier.

Fixes: 7b0a0e3c3a ("wifi: cfg80211: do some rework towards MLO link APIs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-17 15:16:20 +02:00

19067 lines
515 KiB