aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-02-21 00:04:26 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:56 -0500
commit806a9e39670be4f1f861c346ec102a79e81b90c3 (patch)
treea83d6c06a1be211722385fd60433849db3a08625 /include/net/cfg80211.h
parent761cf7ecffc4bc079679e65c3b1ab107c1c1fb56 (diff)
cfg80211: make regulatory_request use wiphy_idx instead of wiphy
We do this so later on we can move the pending requests onto a workqueue. By using the wiphy_idx instead of the wiphy we can later easily check if the wiphy has disappeared or not. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 43ac90df4164..bb9129fc61ca 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -383,9 +383,9 @@ enum environment_cap {
383}; 383};
384 384
385/** 385/**
386 * struct regulatory_request - receipt of last regulatory request 386 * struct regulatory_request - used to keep track of regulatory requests
387 * 387 *
388 * @wiphy: this is set if this request's initiator is 388 * @wiphy_idx: this is set if this request's initiator is
389 * %REGDOM_SET_BY_COUNTRY_IE or %REGDOM_SET_BY_DRIVER. This 389 * %REGDOM_SET_BY_COUNTRY_IE or %REGDOM_SET_BY_DRIVER. This
390 * can be used by the wireless core to deal with conflicts 390 * can be used by the wireless core to deal with conflicts
391 * and potentially inform users of which devices specifically 391 * and potentially inform users of which devices specifically
@@ -406,7 +406,7 @@ enum environment_cap {
406 * indoor, or if it doesn't matter 406 * indoor, or if it doesn't matter
407 */ 407 */
408struct regulatory_request { 408struct regulatory_request {
409 struct wiphy *wiphy; 409 int wiphy_idx;
410 enum reg_set_by initiator; 410 enum reg_set_by initiator;
411 char alpha2[2]; 411 char alpha2[2];
412 bool intersect; 412 bool intersect;