cfg80211: make wdev_list accessible to drivers
[cascardo/linux.git] / net / wireless / core.h
index 022ccad..025b7a5 100644 (file)
@@ -50,10 +50,9 @@ struct cfg80211_registered_device {
        /* wiphy index, internal only */
        int wiphy_idx;
 
-       /* associated wireless interfaces, protected by rtnl or RCU */
-       struct list_head wdev_list;
+       /* protected by RTNL */
        int devlist_generation, wdev_id;
-       int opencount; /* also protected by devlist_mtx */
+       int opencount;
        wait_queue_head_t dev_wait;
 
        struct list_head beacon_registrations;
@@ -214,6 +213,7 @@ struct cfg80211_event {
                        const u8 *resp_ie;
                        size_t req_ie_len;
                        size_t resp_ie_len;
+                       struct cfg80211_bss *bss;
                        u16 status;
                } cr;
                struct {