hostapd: correctly handle macfile uci option
[openwrt.git] / package / network / services / hostapd / patches / 630-bool_fix.patch
1 --- a/src/ap/ieee802_1x.c
2 +++ b/src/ap/ieee802_1x.c
3 @@ -2043,9 +2043,9 @@ void ieee802_1x_notify_pre_auth(struct e
4  }
5  
6  
7 -static const char * bool_txt(Boolean bool)
8 +static const char * bool_txt(Boolean bool_val)
9  {
10 -       return bool ? "TRUE" : "FALSE";
11 +       return bool_val ? "TRUE" : "FALSE";
12  }
13  
14  #ifdef CONFIG_CTRL_IFACE_MIB