nl80211: Skip STA MLO link channel switch handling in AP mode
Add check to skip the STA mode specific MLO link channel switch handling
in AP mode. Commit 1b6f3b5850
("MLD STA: Indicate per link channel
switch") added this indication only for STA mode.
Signed-off-by: Manaswini Paluri <quic_mpaluri@quicinc.com>
This commit is contained in:
parent
99a96b2f9d
commit
96deacf5d7
1 changed files with 1 additions and 1 deletions
|
@ -1269,7 +1269,7 @@ static void mlme_event_ch_switch(struct wpa_driver_nl80211_data *drv,
|
||||||
if (finished)
|
if (finished)
|
||||||
bss->flink->freq = data.ch_switch.freq;
|
bss->flink->freq = data.ch_switch.freq;
|
||||||
|
|
||||||
if (link) {
|
if (link && is_sta_interface(drv->nlmode)) {
|
||||||
u8 link_id = nla_get_u8(link);
|
u8 link_id = nla_get_u8(link);
|
||||||
|
|
||||||
if (link_id < MAX_NUM_MLD_LINKS &&
|
if (link_id < MAX_NUM_MLD_LINKS &&
|
||||||
|
|
Loading…
Reference in a new issue