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

ath: rename ath_reg_apply_active_scan_flags() to ath_reg_apply_ir_flags()

This also applies the no-ibss flag to the channels or clears it.
The idea here is to clarify no initiated radiation should be
allowed on these channels.

Cc: smihir@qti.qualcomm.com
Cc: tushnimb@qca.qualcomm.com
Signed-off-by: NLuis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 bc0aa069
...@@ -277,7 +277,7 @@ ath_reg_apply_beaconing_flags(struct wiphy *wiphy, ...@@ -277,7 +277,7 @@ ath_reg_apply_beaconing_flags(struct wiphy *wiphy,
} }
/** /**
* ath_reg_apply_active_scan_flags() * ath_reg_apply_ir_flags()
* @wiphy: the wiphy to use * @wiphy: the wiphy to use
* @initiator: the regulatory hint initiator * @initiator: the regulatory hint initiator
* *
...@@ -291,7 +291,7 @@ ath_reg_apply_beaconing_flags(struct wiphy *wiphy, ...@@ -291,7 +291,7 @@ ath_reg_apply_beaconing_flags(struct wiphy *wiphy,
* custom regulatory domain. * custom regulatory domain.
*/ */
static void static void
ath_reg_apply_active_scan_flags(struct wiphy *wiphy, ath_reg_apply_ir_flags(struct wiphy *wiphy,
enum nl80211_reg_initiator initiator) enum nl80211_reg_initiator initiator)
{ {
struct ieee80211_supported_band *sband; struct ieee80211_supported_band *sband;
...@@ -357,7 +357,7 @@ static void ath_reg_apply_world_flags(struct wiphy *wiphy, ...@@ -357,7 +357,7 @@ static void ath_reg_apply_world_flags(struct wiphy *wiphy,
break; break;
case 0x68: case 0x68:
ath_reg_apply_beaconing_flags(wiphy, initiator); ath_reg_apply_beaconing_flags(wiphy, initiator);
ath_reg_apply_active_scan_flags(wiphy, initiator); ath_reg_apply_ir_flags(wiphy, initiator);
break; break;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册