summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ht.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2011-11-24 20:15:21 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-11-28 20:43:59 +0100
commit32dfefac1958b64107aedb7ae81ecc55c09803fb (patch)
tree17434865d861dea99de1e05883c4dcadec9579c3 /net/mac80211/ht.c
parentwireless: Remove redundant spi driver bus initialization (diff)
downloadlinux-32dfefac1958b64107aedb7ae81ecc55c09803fb.tar.xz
linux-32dfefac1958b64107aedb7ae81ecc55c09803fb.zip
mac80211: Make __check_htcap_disable static.
Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ht.c')
-rw-r--r--net/mac80211/ht.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c
index 810cfbea6ad1..d3eafaefb16b 100644
--- a/net/mac80211/ht.c
+++ b/net/mac80211/ht.c
@@ -28,9 +28,9 @@ bool ieee80111_cfg_override_disables_ht40(struct ieee80211_sub_if_data *sdata)
return false;
}
-void __check_htcap_disable(struct ieee80211_sub_if_data *sdata,
- struct ieee80211_sta_ht_cap *ht_cap,
- u16 flag)
+static void __check_htcap_disable(struct ieee80211_sub_if_data *sdata,
+ struct ieee80211_sta_ht_cap *ht_cap,
+ u16 flag)
{
__le16 le_flag = cpu_to_le16(flag);
if (sdata->u.mgd.ht_capa_mask.cap_info & le_flag) {