]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/net/cfg80211.h
cfg80211: make regulatory_request use wiphy_idx instead of wiphy
[mirror_ubuntu-bionic-kernel.git] / include / net / cfg80211.h
index 43ac90df416458d9a070cdeacbd411116b4e0399..bb9129fc61cac374475c55af68b654f8b13cfc30 100644 (file)
@@ -383,9 +383,9 @@ enum environment_cap {
 };
 
 /**
- * struct regulatory_request - receipt of last regulatory request
+ * struct regulatory_request - used to keep track of regulatory requests
  *
- * @wiphy: this is set if this request's initiator is
+ * @wiphy_idx: this is set if this request's initiator is
  *     %REGDOM_SET_BY_COUNTRY_IE or %REGDOM_SET_BY_DRIVER. This
  *     can be used by the wireless core to deal with conflicts
  *     and potentially inform users of which devices specifically
@@ -406,7 +406,7 @@ enum environment_cap {
  *     indoor, or if it doesn't matter
  */
 struct regulatory_request {
-       struct wiphy *wiphy;
+       int wiphy_idx;
        enum reg_set_by initiator;
        char alpha2[2];
        bool intersect;