summaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/630-bool_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-17 20:47:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-17 20:47:18 +0000
commit847145b0c220aef94137ea482648039fb814aa8b (patch)
tree6c3a0b967a163f3f3bc0cd3d1dad3f87772c1b5b /package/network/services/hostapd/patches/630-bool_fix.patch
parent2efcaabceed80a72e960a6456693f05e0db89c19 (diff)
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 000000000..510b00002
--- /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