提交 24ed1da1 编写于 作者: L Luis R. Rodriguez 提交者: John W. Linville

cfg80211: allow users to help a driver's compliance

Let users be more compliant if so desired.
Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 9a95371a
...@@ -764,8 +764,9 @@ static int freq_reg_info_regd(struct wiphy *wiphy, ...@@ -764,8 +764,9 @@ static int freq_reg_info_regd(struct wiphy *wiphy,
regd = custom_regd ? custom_regd : cfg80211_regdomain; regd = custom_regd ? custom_regd : cfg80211_regdomain;
/* Follow the driver's regulatory domain, if present, unless a country /* 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 && if (last_request->initiator != REGDOM_SET_BY_COUNTRY_IE &&
last_request->initiator != REGDOM_SET_BY_USER &&
wiphy->regd) wiphy->regd)
regd = wiphy->regd; regd = wiphy->regd;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册