aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/600-ubus_support.patch
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2018-05-17 12:35:23 +0200
committerJohn Crispin <john@phrozen.org>2018-07-30 11:01:04 +0200
commitabefb4fda30936abff58736ed81572a127695e65 (patch)
tree7bbcf9fe4f5c47f03032e94a5ef8e6a7375354e1 /package/network/services/hostapd/patches/600-ubus_support.patch
parent74ac74227715aec4b6a3badf7a69bdde13431e04 (diff)
downloadupstream-abefb4fda30936abff58736ed81572a127695e65.tar.gz
upstream-abefb4fda30936abff58736ed81572a127695e65.tar.bz2
upstream-abefb4fda30936abff58736ed81572a127695e65.zip
hostapd: add ht and vht support in handle event function Add ht and vht capabilities. If a device sends a probe request, the capabilities are added.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'package/network/services/hostapd/patches/600-ubus_support.patch')
-rw-r--r--package/network/services/hostapd/patches/600-ubus_support.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/network/services/hostapd/patches/600-ubus_support.patch b/package/network/services/hostapd/patches/600-ubus_support.patch
index a4c4a67fc3..cb2c54d57c 100644
--- a/package/network/services/hostapd/patches/600-ubus_support.patch
+++ b/package/network/services/hostapd/patches/600-ubus_support.patch
@@ -242,7 +242,7 @@
int ret;
u16 csa_offs[2];
size_t csa_offs_len;
-@@ -737,6 +738,11 @@ void handle_probe_req(struct hostapd_dat
+@@ -737,6 +738,12 @@ void handle_probe_req(struct hostapd_dat
struct hostapd_sta_wpa_psk_short *psk = NULL;
char *identity = NULL;
char *radius_cui = NULL;
@@ -250,11 +250,12 @@
+ .type = HOSTAPD_UBUS_PROBE_REQ,
+ .mgmt_frame = mgmt,
+ .frame_info = fi,
++ .elems = &elems,
+ };
if (len < IEEE80211_HDRLEN)
return;
-@@ -914,6 +920,12 @@ void handle_probe_req(struct hostapd_dat
+@@ -914,6 +921,12 @@ void handle_probe_req(struct hostapd_dat
}
#endif /* CONFIG_P2P */