aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/630-bool_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-03-17 20:47:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-03-17 20:47:18 +0000
commit77a736a2b6a48ae5c915af94057e55e257859cc8 (patch)
tree6c3a0b967a163f3f3bc0cd3d1dad3f87772c1b5b /package/network/services/hostapd/patches/630-bool_fix.patch
parent4f925948b1ed627edc6ab9c071f6c34d4773a680 (diff)
downloadupstream-77a736a2b6a48ae5c915af94057e55e257859cc8.tar.gz
upstream-77a736a2b6a48ae5c915af94057e55e257859cc8.tar.bz2
upstream-77a736a2b6a48ae5c915af94057e55e257859cc8.zip
hostapd: initial prototype of an ubus binding
Supports listing, removing and banning clients, and hooking into probe/assoc/auth requests via object subscribe. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36081 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd/patches/630-bool_fix.patch')
-rw-r--r--package/network/services/hostapd/patches/630-bool_fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/630-bool_fix.patch b/package/network/services/hostapd/patches/630-bool_fix.patch
new file mode 100644
index 0000000000..510b000027
--- /dev/null
+++ b/package/network/services/hostapd/patches/630-bool_fix.patch
@@ -0,0 +1,14 @@
+--- a/src/ap/ieee802_1x.c
++++ b/src/ap/ieee802_1x.c
+@@ -2043,9 +2043,9 @@ void ieee802_1x_notify_pre_auth(struct e
+ }
+
+
+-static const char * bool_txt(Boolean bool)
++static const char * bool_txt(Boolean bool_val)
+ {
+- return bool ? "TRUE" : "FALSE";
++ return bool_val ? "TRUE" : "FALSE";
+ }
+
+ #ifdef CONFIG_CTRL_IFACE_MIB