]> git.baikalelectronics.ru Git - kernel.git/commit
atl1c: clear WoL status when reset pcie
authorHuang, Xiong <xiong@qca.qualcomm.com>
Mon, 30 Apr 2012 15:38:51 +0000 (15:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2012 01:44:13 +0000 (21:44 -0400)
commita24cb977823f35dd95c846454fb083c2b293d40f
tree490294b0cf12cffb2ca2fc3f69c4e152cf07dc20
parentedc00db4680bc255ab84d642593d6331d8117d26
atl1c: clear WoL status when reset pcie

WoL status is read-clear and should be cleared when in S0
status.
putting it in atl1c_reset_pcie is more suitable than
in atl1c_get_permanent_address.

Signed-off-by: xiong <xiong@qca.qualcomm.com>
Tested-by: Liu David <dwliu@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_hw.c
drivers/net/ethernet/atheros/atl1c/atl1c_main.c