aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/reg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 5dab72db54b9..00c326b66c03 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -45,7 +45,6 @@
45/* wiphy is set if this request's initiator is REGDOM_SET_BY_DRIVER */ 45/* wiphy is set if this request's initiator is REGDOM_SET_BY_DRIVER */
46struct regulatory_request { 46struct regulatory_request {
47 struct wiphy *wiphy; 47 struct wiphy *wiphy;
48 int granted;
49 enum reg_set_by initiator; 48 enum reg_set_by initiator;
50 char alpha2[2]; 49 char alpha2[2];
51}; 50};
@@ -744,7 +743,6 @@ static int __set_regdom(const struct ieee80211_regdomain *rd)
744 743
745 /* Tada! */ 744 /* Tada! */
746 cfg80211_regdomain = rd; 745 cfg80211_regdomain = rd;
747 last_request->granted = 1;
748 746
749 return 0; 747 return 0;
750} 748}