Re: [PATCH 2/2] sh_eth: fix wakeup event reporting from MagicPacket

2017-02-01 Thread Sergei Shtylyov
On 02/01/2017 05:41 PM, Niklas Söderlund wrote: If a link change interrupt happens along side the MagicPacket interrupt and the link change interrupt is ignored the interrupt handler will return and the wakeup event is not register. Fix this by moving the Registered? MagicPacket check bef

Re: [PATCH 2/2] sh_eth: fix wakeup event reporting from MagicPacket

2017-02-01 Thread Sergei Shtylyov
On 02/01/2017 05:41 PM, Niklas Söderlund wrote: If a link change interrupt happens along side the MagicPacket interrupt and the link change interrupt is ignored the interrupt handler will return and the wakeup event is not register. Fix this by moving the MagicPacket check before the link change

[PATCH 2/2] sh_eth: fix wakeup event reporting from MagicPacket

2017-02-01 Thread Niklas Söderlund
If a link change interrupt happens along side the MagicPacket interrupt and the link change interrupt is ignored the interrupt handler will return and the wakeup event is not register. Fix this by moving the MagicPacket check before the link change check. Signed-off-by: Niklas Söderlund Reported-