mac80211: Make __check_htcap_disable static.
authorBen Greear <greearb@candelatech.com>
Thu, 24 Nov 2011 19:15:21 +0000 (11:15 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:43:59 +0000 (14:43 -0500)
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ht.c

index 810cfbea6ad1c77028fcbf54a428753b85a202a8..d3eafaefb16b15f96198b7c1902c825fa729f5fe 100644 (file)
@@ -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) {