linux/drivers/net/ethernet/broadcom/genet
Florian Fainelli 083731a8fb net: bcmgenet: avoid unbalanced enable_irq_wake calls
Multiple enable_irq_wake() calls will keep increasing the IRQ
wake_depth, which ultimately leads to the following types of
situation:

1) enable Wake-on-LAN interrupt w/o password
2) enable Wake-on-LAN interrupt w/ password
3) enable Wake-on-LAN interrupt w/o password
4) disable Wake-on-LAN interrupt

After step 4), GENET would always wake-up the system no matter what
wake-up device we use, which is not what we want. Fix this by making
sure there are no unbalanced enable_irq_wake() calls.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-10 15:39:15 -04:00
..
Makefile net: bcmgenet: add Wake-on-LAN support code 2014-07-21 16:04:31 -07:00
bcmgenet.c net: bcmgenet: fix off-by-one in incrementing read pointer 2014-10-10 15:39:15 -04:00
bcmgenet.h net: bcmgenet: fix Tx ring priority programming 2014-10-07 13:08:43 -04:00
bcmgenet_wol.c net: bcmgenet: avoid unbalanced enable_irq_wake calls 2014-10-10 15:39:15 -04:00
bcmmii.c net: bcmgenet: improve bcmgenet_mii_setup() 2014-10-06 00:18:09 -04:00