aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2013-02-28 03:49:11 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-03-06 10:35:54 -0500
commit30c97120c6c7893e5c6857a16229699b2b79dfbe (patch)
tree934946545b5e0570181f0d664eee6a899db4b1d0 /net/mac80211/iface.c
parent098b8afbf23502041c091463aea10a91b735c4cf (diff)
mac80211: remove napi
Since two years no mac80211 driver implement support for NAPI. Looks this feature is unneeded, so remove it from generic mac80211 code. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index baaa8608e52d..1ee10cd1d5b6 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -485,8 +485,6 @@ int ieee80211_do_open(struct wireless_dev *wdev, bool coming_up)
485 res = drv_start(local); 485 res = drv_start(local);
486 if (res) 486 if (res)
487 goto err_del_bss; 487 goto err_del_bss;
488 if (local->ops->napi_poll)
489 napi_enable(&local->napi);
490 /* we're brought up, everything changes */ 488 /* we're brought up, everything changes */
491 hw_reconf_flags = ~0; 489 hw_reconf_flags = ~0;
492 ieee80211_led_radio(local, true); 490 ieee80211_led_radio(local, true);
@@ -857,8 +855,6 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
857 ieee80211_recalc_ps(local, -1); 855 ieee80211_recalc_ps(local, -1);
858 856
859 if (local->open_count == 0) { 857 if (local->open_count == 0) {
860 if (local->ops->napi_poll)
861 napi_disable(&local->napi);
862 ieee80211_clear_tx_pending(local); 858 ieee80211_clear_tx_pending(local);
863 ieee80211_stop_device(local); 859 ieee80211_stop_device(local);
864 860