diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00mac.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00mac.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index a0adf5a04aa0..dc70e7aedfff 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c | |||
@@ -253,6 +253,13 @@ int rt2x00mac_add_interface(struct ieee80211_hw *hw, | |||
253 | */ | 253 | */ |
254 | rt2x00lib_config_intf(rt2x00dev, intf, conf->type, intf->mac, NULL); | 254 | rt2x00lib_config_intf(rt2x00dev, intf, conf->type, intf->mac, NULL); |
255 | 255 | ||
256 | /* | ||
257 | * Some filters depend on the current working mode. We can force | ||
258 | * an update during the next configure_filter() run by mac80211 by | ||
259 | * resetting the current packet_filter state. | ||
260 | */ | ||
261 | rt2x00dev->packet_filter = 0; | ||
262 | |||
256 | return 0; | 263 | return 0; |
257 | } | 264 | } |
258 | EXPORT_SYMBOL_GPL(rt2x00mac_add_interface); | 265 | EXPORT_SYMBOL_GPL(rt2x00mac_add_interface); |