qlcnic: fix multicast handling
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Mon, 8 Mar 2010 00:14:47 +0000 (00:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Mar 2010 18:45:29 +0000 (10:45 -0800)
commit9ab17b3968f9521bb4fffd8767953d2b0148aad0
tree832ba2be1bd501563f03138e90cd5a84b113293c
parent8bfe8b91b8b877066c8ac788f59a40324eaac6d8
qlcnic: fix multicast handling

For promiscuous mode, driver send request to device for deleting
multicast addresses and again it send request for adding them back
while exiting from this mode, this is bad for performance.
Just setting device in promiscuous mode is enough, no need to del/add
multicast addresses.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_hw.c