aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-17 04:52:12 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-17 22:21:03 -0400
commit09e83b5d7d1878065e2453239b49b684cd0fe4e5 (patch)
treea08d06c81d7bcd47e432443e24b126101ea1f2b9 /net/mac80211
parente8a0464cc950972824e2e128028ae3db666ec1ed (diff)
netdev: Kill NETIF_F_MULTI_QUEUE.
There is no need for a feature bit for something that can be tested by simply checking the TX queue count. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211')
-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;