Commit 25af8ff5 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: optionally pass chandef to ieee80211_sta_cap_rx_bw()



We'll need this function to take a new chandef in
(some) channel switching cases, so prepare for that
by allowing that to be passed and using it if so.
Clean up the code a little bit while at it.

Reviewed-by: default avatarMiriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240612143418.772313f08b6a.If9708249e5870671e745d4c2b02e03b25092bea3@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent b777bdfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment