summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-04-12 13:48:46 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-04-13 10:32:11 -0700
commitb0383b2b72cd749e674077a0a45624a1757980c2 (patch)
tree8601d4f63c535f6dfeef62f5b0331a00fed1462c /drivers
parenteb14bbb84c616b51072e032a5aee3146ad554d4a (diff)
net: wireless: bcmdhd: Allow 80211_HT capability
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/bcmdhd/wl_cfg80211.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/bcmdhd/wl_cfg80211.c b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
index 9bc0f9c8ecd6..4b83d2aeea71 100644
--- a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@ -6709,7 +6709,6 @@ s32 wl_update_wiphybands(struct wl_priv *wl)
&__wl_band_2ghz;
index = IEEE80211_BAND_2GHZ;
}
-#if defined WL_ENABLE_P2P_IF
if ((index >= 0) && nmode) {
wiphy->bands[index]->ht_cap.cap =
IEEE80211_HT_CAP_DSSSCCK40
@@ -6718,7 +6717,6 @@ s32 wl_update_wiphybands(struct wl_priv *wl)
wiphy->bands[index]->ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K;
wiphy->bands[index]->ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_16;
}
-#endif
}
wiphy_apply_custom_regulatory(wiphy, &brcm_regdom);