aboutsummaryrefslogtreecommitdiff
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 5dab72db54b..00c326b66c0 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -45,7 +45,6 @@
/* wiphy is set if this request's initiator is REGDOM_SET_BY_DRIVER */
struct regulatory_request {
struct wiphy *wiphy;
- int granted;
enum reg_set_by initiator;
char alpha2[2];
};
@@ -744,7 +743,6 @@ static int __set_regdom(const struct ieee80211_regdomain *rd)
/* Tada! */
cfg80211_regdomain = rd;
- last_request->granted = 1;
return 0;
}