nl80211: Extend shared_freq to handle AP/GO mode interfaces
Signed-hostap: Jithu Jance <jithu@broadcom.com>
This commit is contained in:
parent
86ae2e8a42
commit
d3bd0f057c
1 changed files with 4 additions and 1 deletions
|
@ -8449,6 +8449,9 @@ static int wpa_driver_nl80211_shared_freq(void *priv)
|
|||
MACSTR,
|
||||
driver->phyname, driver->first_bss.ifname,
|
||||
MAC2STR(driver->first_bss.addr));
|
||||
if (is_ap_interface(driver->nlmode))
|
||||
freq = driver->first_bss.freq;
|
||||
else
|
||||
freq = nl80211_get_assoc_freq(driver);
|
||||
wpa_printf(MSG_DEBUG, "nl80211: Shared freq for PHY %s: %d",
|
||||
drv->phyname, freq);
|
||||
|
|
Loading…
Reference in a new issue