blob: 1de7c1d45366244c771f19d5377cefa405a026c6 [file] [log] [blame]
developer4e0da232022-05-09 13:05:53 +08001diff -urN a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
2--- a/wpa_supplicant/wpa_supplicant_i.h 2022-05-05 11:09:32.099283258 +0800
3+++ b/wpa_supplicant/wpa_supplicant_i.h 2022-05-05 11:18:09.402159866 +0800
4@@ -323,8 +323,9 @@
5 #endif /* CONFIG_WIFI_DISPLAY */
6
7 struct psk_list_entry *add_psk; /* From group formation */
8-
9+#ifdef UBUS_SUPPORT
10 struct ubus_object ubus_global;
11+#endif
12 };
13
14
15diff -urN a/src/ap/hostapd.h b/src/ap/hostapd.h
16--- a/src/ap/hostapd.h 2022-04-28 12:18:51.607377262 +0800
17+++ b/src/ap/hostapd.h 2022-04-28 12:20:10.510028480 +0800
18@@ -81,7 +81,9 @@
19 #ifdef CONFIG_CTRL_IFACE_UDP
20 unsigned char ctrl_iface_cookie[CTRL_IFACE_COOKIE_LEN];
21 #endif /* CONFIG_CTRL_IFACE_UDP */
22- struct ubus_object ubus;
23+#ifdef UBUS_SUPPORT
24+ struct ubus_object ubus;
25+#endif
26 };
27
28 enum hostapd_chan_status {