diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 50ea7bd0c922..0361524d193c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -404,18 +404,8 @@ static void rt2x00lib_packetfilter_scheduled(struct work_struct *work) | |||
404 | { | 404 | { |
405 | struct rt2x00_dev *rt2x00dev = | 405 | struct rt2x00_dev *rt2x00dev = |
406 | container_of(work, struct rt2x00_dev, filter_work); | 406 | container_of(work, struct rt2x00_dev, filter_work); |
407 | unsigned int filter = rt2x00dev->packet_filter; | ||
408 | 407 | ||
409 | /* | 408 | rt2x00dev->ops->lib->config_filter(rt2x00dev, rt2x00dev->packet_filter); |
410 | * Since we had stored the filter inside rt2x00dev->packet_filter, | ||
411 | * we should now clear that field. Otherwise the driver will | ||
412 | * assume nothing has changed (*total_flags will be compared | ||
413 | * to rt2x00dev->packet_filter to determine if any action is required). | ||
414 | */ | ||
415 | rt2x00dev->packet_filter = 0; | ||
416 | |||
417 | rt2x00dev->ops->hw->configure_filter(rt2x00dev->hw, | ||
418 | filter, &filter, 0, NULL); | ||
419 | } | 409 | } |
420 | 410 | ||
421 | static void rt2x00lib_intf_scheduled_iter(void *data, u8 *mac, | 411 | static void rt2x00lib_intf_scheduled_iter(void *data, u8 *mac, |