developer | 7b43f2d | 2022-04-29 17:53:25 +0800 | [diff] [blame] | 1 | diff -urN a/src/ap/hostapd.h b/src/ap/hostapd.h |
2 | --- a/src/ap/hostapd.h 2022-04-28 12:18:51.607377262 +0800 | ||||
3 | +++ b/src/ap/hostapd.h 2022-04-28 12:20:10.510028480 +0800 | ||||
4 | @@ -81,7 +81,9 @@ | ||||
5 | #ifdef CONFIG_CTRL_IFACE_UDP | ||||
6 | unsigned char ctrl_iface_cookie[CTRL_IFACE_COOKIE_LEN]; | ||||
7 | #endif /* CONFIG_CTRL_IFACE_UDP */ | ||||
8 | - struct ubus_object ubus; | ||||
9 | +#ifdef UBUS_SUPPORT | ||||
10 | + struct ubus_object ubus; | ||||
11 | +#endif | ||||
12 | }; | ||||
13 | |||||
14 | enum hostapd_chan_status { |