diff options
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index c281c0b35ed4..ad46a0ba6e64 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -2272,6 +2272,9 @@ static void rndis_wext_set_multicast_list(struct net_device *dev) | |||
2272 | struct usbnet *usbdev = dev->priv; | 2272 | struct usbnet *usbdev = dev->priv; |
2273 | struct rndis_wext_private *priv = get_rndis_wext_priv(usbdev); | 2273 | struct rndis_wext_private *priv = get_rndis_wext_priv(usbdev); |
2274 | 2274 | ||
2275 | if (test_bit(WORK_SET_MULTICAST_LIST, &priv->work_pending)) | ||
2276 | return; | ||
2277 | |||
2275 | set_bit(WORK_SET_MULTICAST_LIST, &priv->work_pending); | 2278 | set_bit(WORK_SET_MULTICAST_LIST, &priv->work_pending); |
2276 | queue_work(priv->workqueue, &priv->work); | 2279 | queue_work(priv->workqueue, &priv->work); |
2277 | } | 2280 | } |