]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Update link bandwidth when receiving channel switch event
authorChenming Huang <quic_chenhuan@quicinc.com>
Wed, 17 Apr 2024 03:32:27 +0000 (09:02 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 22 Apr 2024 20:39:20 +0000 (23:39 +0300)
commit5308029f8684b789b433c05e79c0a7ec37971ef8
tree43888c9f428d87cb9b638099ef11907247223ec2
parent11dfdf64c00bc7d85b0f7ce8cec0055d3341ce80
nl80211: Update link bandwidth when receiving channel switch event

There is a chance that the driver has switched the channel width so we
should update the bandwidth, too, when receiving a channel switch event.
Otherwise, this may cause out of sync for bandwidth between i802_link
and hostapd_config.

Signed-off-by: Chenming Huang <quic_chenhuan@quicinc.com>
src/drivers/driver_nl80211_event.c