summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/013-prism2-ioctl-bridge-packets.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:10:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-11-16 03:10:56 +0000
commit5fe95d1b660bed238f8f53d6c7360f44b5ce9824 (patch)
treef75dc7eaabf7bd7baacc8cc8440484d88d3666e2 /package/mac80211/patches/013-prism2-ioctl-bridge-packets.patch
parenta4d094be2ac657698039b16163822b8ccd32f0d9 (diff)
fix up hostapd for mac80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9554 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/013-prism2-ioctl-bridge-packets.patch')
-rw-r--r--package/mac80211/patches/013-prism2-ioctl-bridge-packets.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/mac80211/patches/013-prism2-ioctl-bridge-packets.patch b/package/mac80211/patches/013-prism2-ioctl-bridge-packets.patch
new file mode 100644
index 0000000000..d418ad3497
--- /dev/null
+++ b/package/mac80211/patches/013-prism2-ioctl-bridge-packets.patch
@@ -0,0 +1,26 @@
+---
+ net/mac80211/ieee80211_ioctl.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+--- everything.orig/net/mac80211/ieee80211_ioctl.c 2007-11-07 13:19:27.981515569 +0100
++++ everything/net/mac80211/ieee80211_ioctl.c 2007-11-07 13:19:30.781513182 +0100
+@@ -882,6 +882,9 @@ static int ieee80211_ioctl_prism2_param(
+ local = sdata->local;
+
+ switch (param) {
++ case PRISM2_PARAM_AP_BRIDGE_PACKETS:
++ local->bridge_packets = value;
++ break;
+ case PRISM2_PARAM_MGMT_IF:
+ if (value == 1) {
+ if (!local->apdev)
+@@ -914,6 +917,9 @@ static int ieee80211_ioctl_get_prism2_pa
+ local = sdata->local;
+
+ switch (*param) {
++ case PRISM2_PARAM_AP_BRIDGE_PACKETS:
++ *param = local->bridge_packets;
++ break;
+ case PRISM2_PARAM_MGMT_IF:
+ if (local->apdev)
+ *param = local->apdev->ifindex;