aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index b486e634f4fe..c74607eda1ee 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -1678,9 +1678,6 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)
1678 if (!mdev) 1678 if (!mdev)
1679 goto fail_mdev_alloc; 1679 goto fail_mdev_alloc;
1680 1680
1681 if (ieee80211_num_queues(hw) > 1)
1682 mdev->features |= NETIF_F_MULTI_QUEUE;
1683
1684 mwdev = netdev_priv(mdev); 1681 mwdev = netdev_priv(mdev);
1685 mdev->ieee80211_ptr = mwdev; 1682 mdev->ieee80211_ptr = mwdev;
1686 mwdev->wiphy = local->hw.wiphy; 1683 mwdev->wiphy = local->hw.wiphy;