aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/110-bool_fix.patch
blob: 865c014ee311d3d9ae73575d211d8c8904b0e237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/ap/ieee802_1x.c
+++ b/src/ap/ieee802_1x.c
@@ -2332,9 +2332,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";
 }