nl80211: P2P: Pass cookie parameter in send action frame
The cookie value needs to be fetched in GO mode, too, to be able to indicate TX status callbacks with drivers that handle AP mode SME functionality internally. This fixes issues with client discoverability where TX status callback for GO Discoverability Request is needed to trigger the GO to send Device Discoverability Response.
This commit is contained in:
parent
433cd2ce65
commit
d8d6b32eec
1 changed files with 2 additions and 1 deletions
|
@ -5168,7 +5168,8 @@ static int wpa_driver_nl80211_send_mlme(void *priv, const u8 *data,
|
||||||
|
|
||||||
if (drv->device_ap_sme && is_ap_interface(drv->nlmode)) {
|
if (drv->device_ap_sme && is_ap_interface(drv->nlmode)) {
|
||||||
return nl80211_send_frame_cmd(bss, bss->freq, 0,
|
return nl80211_send_frame_cmd(bss, bss->freq, 0,
|
||||||
data, data_len, NULL,
|
data, data_len,
|
||||||
|
&drv->send_action_cookie,
|
||||||
0, noack, 0);
|
0, noack, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue