net: wireless: bcmdhd: Allow 80211_HT capability
Dmitry Shmidt [Thu, 12 Apr 2012 20:48:46 +0000 (13:48 -0700)]
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

drivers/net/wireless/bcmdhd/wl_cfg80211.c

index 19d675a..f717f8f 100644 (file)
@@ -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);