projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HT: Pass the smps_mode in AP parameters
[mech_eap.git]
/
src
/
ap
/
beacon.c
diff --git
a/src/ap/beacon.c
b/src/ap/beacon.c
index
22aef9f
..
f73f83a
100644
(file)
--- a/
src/ap/beacon.c
+++ b/
src/ap/beacon.c
@@
-919,6
+919,7
@@
int ieee802_11_build_ap_params(struct hostapd_data *hapd,
break;
}
params->isolate = hapd->conf->isolate;
+ params->smps_mode = hapd->iconf->ht_capab & HT_CAP_INFO_SMPS_MASK;
#ifdef NEED_AP_MLME
params->cts_protect = !!(ieee802_11_erp_info(hapd) &
ERP_INFO_USE_PROTECTION);