aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/630-bool_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-05-21 11:56:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-05-21 11:56:27 +0000
commitb4fe48f75e7530d81cb90e58bc003fb655c036aa (patch)
tree684da747e1c52cc3d260a716bb26e1a94f602f33 /package/hostapd/patches/630-bool_fix.patch
parent56130bc5a8469bda1963b134a2bdeec7588b5a28 (diff)
downloadupstream-b4fe48f75e7530d81cb90e58bc003fb655c036aa.tar.gz
upstream-b4fe48f75e7530d81cb90e58bc003fb655c036aa.tar.bz2
upstream-b4fe48f75e7530d81cb90e58bc003fb655c036aa.zip
hostapd: sync with trunk r36533
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/630-bool_fix.patch')
-rw-r--r--package/hostapd/patches/630-bool_fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/hostapd/patches/630-bool_fix.patch b/package/hostapd/patches/630-bool_fix.patch
new file mode 100644
index 0000000000..510b000027
--- /dev/null
+++ b/package/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