mac80211: Make __check_htcap_disable static.
Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
4e3309ba95
commit
32dfefac19
|
@ -28,9 +28,9 @@ bool ieee80111_cfg_override_disables_ht40(struct ieee80211_sub_if_data *sdata)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __check_htcap_disable(struct ieee80211_sub_if_data *sdata,
|
static void __check_htcap_disable(struct ieee80211_sub_if_data *sdata,
|
||||||
struct ieee80211_sta_ht_cap *ht_cap,
|
struct ieee80211_sta_ht_cap *ht_cap,
|
||||||
u16 flag)
|
u16 flag)
|
||||||
{
|
{
|
||||||
__le16 le_flag = cpu_to_le16(flag);
|
__le16 le_flag = cpu_to_le16(flag);
|
||||||
if (sdata->u.mgd.ht_capa_mask.cap_info & le_flag) {
|
if (sdata->u.mgd.ht_capa_mask.cap_info & le_flag) {
|
||||||
|
|
Loading…
Reference in New Issue