bnx2x: WoL only with current MAC address
authorEilon Greenstein <eilong@broadcom.com>
Wed, 29 Jul 2009 00:20:10 +0000 (00:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2009 19:19:25 +0000 (12:19 -0700)
commit7d0446c2349da54f2967fb34d984db572fbfc6ac
tree8056e629f5a4e4ffd410d763945bd175e42b061b
parentc1f1a06f926acc267c62a26d5d7435a3b5c7e429
bnx2x: WoL only with current MAC address

In some cases with 57711E, depending on the functions unload sequence, other
functions MAC address could have been used to wake the system as well. Make sure
to block all but the current function if WoL is required by changing the mode
to single function WoL.

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c