aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00dev.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c
index 9ab70e435b5d..16b560a661e3 100644
--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
@@ -118,14 +118,6 @@ void rt2x00lib_toggle_rx(struct rt2x00_dev *rt2x00dev, enum dev_state state)
118 rt2x00link_start_tuner(rt2x00dev); 118 rt2x00link_start_tuner(rt2x00dev);
119} 119}
120 120
121static void rt2x00lib_packetfilter_scheduled(struct work_struct *work)
122{
123 struct rt2x00_dev *rt2x00dev =
124 container_of(work, struct rt2x00_dev, filter_work);
125
126 rt2x00dev->ops->lib->config_filter(rt2x00dev, rt2x00dev->packet_filter);
127}
128
129static void rt2x00lib_intf_scheduled_iter(void *data, u8 *mac, 121static void rt2x00lib_intf_scheduled_iter(void *data, u8 *mac,
130 struct ieee80211_vif *vif) 122 struct ieee80211_vif *vif)
131{ 123{
@@ -859,7 +851,6 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev)
859 * Initialize configuration work. 851 * Initialize configuration work.
860 */ 852 */
861 INIT_WORK(&rt2x00dev->intf_work, rt2x00lib_intf_scheduled); 853 INIT_WORK(&rt2x00dev->intf_work, rt2x00lib_intf_scheduled);
862 INIT_WORK(&rt2x00dev->filter_work, rt2x00lib_packetfilter_scheduled);
863 854
864 /* 855 /*
865 * Allocate queue array. 856 * Allocate queue array.
@@ -907,7 +898,6 @@ void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev)
907 /* 898 /*
908 * Stop all work. 899 * Stop all work.
909 */ 900 */
910 cancel_work_sync(&rt2x00dev->filter_work);
911 cancel_work_sync(&rt2x00dev->intf_work); 901 cancel_work_sync(&rt2x00dev->intf_work);
912 902
913 /* 903 /*