net: wireless: bcmdhd: Allow 80211_HT capability
authorDmitry Shmidt <dimitrysh@google.com>
Thu, 12 Apr 2012 20:48:46 +0000 (13:48 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Fri, 13 Apr 2012 17:32:11 +0000 (10:32 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c

index 9bc0f9c8ecd6d542742331d4d813f7caf2819eee..4b83d2aeea711ddcab5946dab831a4b6ed0ffcf9 100644 (file)
@@ -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);