wifi: mac80211: fix mlme_link_id_dbg()
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 25 Mar 2024 08:59:48 +0000 (09:59 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 14:22:53 +0000 (15:22 +0100)
commit27f8f108c8455b42ec5f55806c5dc73ae2c5d075
treeac815921dec1d28f67822dea6cf9dd0e5ba042ec
parent10b890ee21a5ef7f6444506974648648f98f9ba9
wifi: mac80211: fix mlme_link_id_dbg()

Make sure that the new mlme_link_id_dbg() macro honours
CONFIG_MAC80211_MLME_DEBUG as intended to avoid spamming the log with
messages like:

wlan0: no EHT support, limiting to HE
wlan0: determined local STA to be HE, BW limited to 160 MHz
wlan0: determined AP xx:xx:xx:xx:xx:xx to be VHT
wlan0: connecting with VHT mode, max bandwidth 160 MHz

Fixes: 310c8387c638 ("wifi: mac80211: clean up connection process")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://msgid.link/20240325085948.26203-1-johan+linaro@kernel.org
Tested-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/debug.h