Skip to content

Commit

Permalink
cfg80211: allow users to help a driver's compliance
Browse files Browse the repository at this point in the history
Let users be more compliant if so desired.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Jan 29, 2009
1 parent 9a95371 commit 24ed1da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,8 +764,9 @@ static int freq_reg_info_regd(struct wiphy *wiphy,
regd = custom_regd ? custom_regd : cfg80211_regdomain;

/* Follow the driver's regulatory domain, if present, unless a country
* IE has been processed */
* IE has been processed or a user wants to help complaince further */
if (last_request->initiator != REGDOM_SET_BY_COUNTRY_IE &&
last_request->initiator != REGDOM_SET_BY_USER &&
wiphy->regd)
regd = wiphy->regd;

Expand Down

0 comments on commit 24ed1da

Please sign in to comment.