nl80211: Use control port TX for AP mode
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
This commit is contained in:
parent
d8252a9812
commit
781c5a0624
1 changed files with 4 additions and 0 deletions
|
@ -5168,6 +5168,10 @@ static int wpa_driver_nl80211_hapd_send_eapol(
|
||||||
int res;
|
int res;
|
||||||
int qos = flags & WPA_STA_WMM;
|
int qos = flags & WPA_STA_WMM;
|
||||||
|
|
||||||
|
if (drv->capa.flags & WPA_DRIVER_FLAGS_CONTROL_PORT)
|
||||||
|
return nl80211_tx_control_port(bss, addr, ETH_P_EAPOL,
|
||||||
|
data, data_len, !encrypt);
|
||||||
|
|
||||||
if (drv->device_ap_sme || !drv->use_monitor)
|
if (drv->device_ap_sme || !drv->use_monitor)
|
||||||
return nl80211_send_eapol_data(bss, addr, data, data_len);
|
return nl80211_send_eapol_data(bss, addr, data, data_len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue