nl80211: Add extra IEs into IBSS join request
This allows RSN IE to be added into Beacon and Probe Response frames when using RSN IBSS.
This commit is contained in:
parent
9c972abb66
commit
a95795ad61
1 changed files with 8 additions and 0 deletions
|
@ -3477,6 +3477,14 @@ retry:
|
||||||
if (ret)
|
if (ret)
|
||||||
goto nla_put_failure;
|
goto nla_put_failure;
|
||||||
|
|
||||||
|
if (params->wpa_ie) {
|
||||||
|
wpa_hexdump(MSG_DEBUG,
|
||||||
|
" * Extra IEs for Beacon/Probe Response frames",
|
||||||
|
params->wpa_ie, params->wpa_ie_len);
|
||||||
|
NLA_PUT(msg, NL80211_ATTR_IE, params->wpa_ie_len,
|
||||||
|
params->wpa_ie);
|
||||||
|
}
|
||||||
|
|
||||||
ret = send_and_recv_msgs(drv, msg, NULL, NULL);
|
ret = send_and_recv_msgs(drv, msg, NULL, NULL);
|
||||||
msg = NULL;
|
msg = NULL;
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Reference in a new issue