summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-04-12 13:48:46 -0700
committerOm Prakash Singh <omp@nvidia.com>2012-06-15 14:15:17 +0530
commit0e3baaafacb4c80df9ec4ba6278ad2ba4b6cf45d (patch)
tree7e20e367fcefbc1e3fafa649241914437f871640 /drivers/net/wireless
parent8e520c423374a7d2fe383019e69d59a99c9f47ed (diff)
net: wireless: bcmdhd: Allow 80211_HT capability
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'drivers/net/wireless')
-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 19d675a2b8db..f717f8f1a07a 100644
--- a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@ -6712,7 +6712,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
@@ -6721,7 +6720,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);