]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/vht.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[karo-tx-linux.git] / net / mac80211 / vht.c
index 43e45bb660bcde02af964a31a71efd64f07ba448..19ec2189d3acbe2490bb3f2f6a14abee15a185c8 100644 (file)
@@ -436,14 +436,10 @@ u32 __ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata,
                                  struct sta_info *sta, u8 opmode,
                                  enum nl80211_band band)
 {
-       struct ieee80211_local *local = sdata->local;
-       struct ieee80211_supported_band *sband;
        enum ieee80211_sta_rx_bandwidth new_bw;
        u32 changed = 0;
        u8 nss;
 
-       sband = local->hw.wiphy->bands[band];
-
        /* ignore - no support for BF yet */
        if (opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_TYPE_BF)
                return 0;