wireless: remove write-only 'granted' variable
Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a4510bf8d9
commit
f3e63db2e5
@ -45,7 +45,6 @@
|
|||||||
/* wiphy is set if this request's initiator is REGDOM_SET_BY_DRIVER */
|
/* wiphy is set if this request's initiator is REGDOM_SET_BY_DRIVER */
|
||||||
struct regulatory_request {
|
struct regulatory_request {
|
||||||
struct wiphy *wiphy;
|
struct wiphy *wiphy;
|
||||||
int granted;
|
|
||||||
enum reg_set_by initiator;
|
enum reg_set_by initiator;
|
||||||
char alpha2[2];
|
char alpha2[2];
|
||||||
};
|
};
|
||||||
@ -744,7 +743,6 @@ static int __set_regdom(const struct ieee80211_regdomain *rd)
|
|||||||
|
|
||||||
/* Tada! */
|
/* Tada! */
|
||||||
cfg80211_regdomain = rd;
|
cfg80211_regdomain = rd;
|
||||||
last_request->granted = 1;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user