summaryrefslogtreecommitdiffstats
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
commit2167101c9089b2198d89e7490f8e7a541adb56e6 (patch)
tree8a94d5d29fd5598e459599a9f411381493cce429 /package/network/services/hostapd/patches/630-bool_fix.patch
parentfe157ea1ba8ff29736fb1fa05b149ef165262699 (diff)
downloadmaster-31e0f0ae-2167101c9089b2198d89e7490f8e7a541adb56e6.tar.gz
master-31e0f0ae-2167101c9089b2198d89e7490f8e7a541adb56e6.tar.bz2
master-31e0f0ae-2167101c9089b2198d89e7490f8e7a541adb56e6.zip
hostapd: initial prototype of an ubus binding
Supports listing, removing and banning clients, and hooking into probe/assoc/auth requests via object subscribe. SVN-Revision: 36081
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