OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 16... Line 16...
16 }; 16 };
Line 17... Line 17...
17   17  
18 struct hostapd_ubus_request { 18 struct hostapd_ubus_request {
19 enum hostapd_ubus_event_type type; 19 enum hostapd_ubus_event_type type;
20 const struct ieee80211_mgmt *mgmt_frame; -  
21 const struct ieee802_11_elems *elems; 20 const struct ieee80211_mgmt *mgmt_frame;
22 const struct hostapd_frame_info *frame_info; 21 const struct hostapd_frame_info *frame_info;
23 const u8 *addr; 22 const u8 *addr;
Line 24... Line 23...
24 }; 23 };
Line 29... Line 28...
29 #ifdef UBUS_SUPPORT 28 #ifdef UBUS_SUPPORT
Line 30... Line 29...
30   29  
31 #include <libubox/avl.h> 30 #include <libubox/avl.h>
Line -... Line 31...
-   31 #include <libubus.h>
-   32  
-   33 struct hostapd_ubus_iface {
-   34 struct ubus_object obj;
32 #include <libubus.h> 35 };
33   36  
34 struct hostapd_ubus_bss { 37 struct hostapd_ubus_bss {
35 struct ubus_object obj; 38 struct ubus_object obj;
36 struct avl_tree banned; 39 struct avl_tree banned;
Line 45... Line 48...
45 int hostapd_ubus_handle_event(struct hostapd_data *hapd, struct hostapd_ubus_request *req); 48 int hostapd_ubus_handle_event(struct hostapd_data *hapd, struct hostapd_ubus_request *req);
46 void hostapd_ubus_notify(struct hostapd_data *hapd, const char *type, const u8 *mac); 49 void hostapd_ubus_notify(struct hostapd_data *hapd, const char *type, const u8 *mac);
Line 47... Line 50...
47   50  
Line -... Line 51...
-   51 #else
-   52  
48 #else 53 struct hostapd_ubus_iface {};
Line 49... Line 54...
49   54  
50 struct hostapd_ubus_bss {}; 55 struct hostapd_ubus_bss {};
51   56