nl80211: disable_11b_rates on interface mode change
disable_11b_rates() is called on interface addition, but not on interface type change, resulting in 11b rates enabled on p2p interfaces. Signed-off-by: Eliad Peller <eliad@wizery.com>
This commit is contained in:
parent
b106173a82
commit
083590503b
1 changed files with 3 additions and 0 deletions
|
@ -5770,6 +5770,9 @@ done:
|
||||||
bss->beacon_set = 0;
|
bss->beacon_set = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!ret && drv->disable_11b_rates)
|
||||||
|
nl80211_disable_11b_rates(drv, drv->ifindex, 1);
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
wpa_printf(MSG_DEBUG, "nl80211: Interface mode change to %d "
|
wpa_printf(MSG_DEBUG, "nl80211: Interface mode change to %d "
|
||||||
"from %d failed", nlmode, drv->nlmode);
|
"from %d failed", nlmode, drv->nlmode);
|
||||||
|
|
Loading…
Add table
Reference in a new issue