Commit f0556437 authored by Jeff Westfahl's avatar Jeff Westfahl Committed by Michal Simek
Browse files

net: xilinx_emacps: Fix issue with wake-on-LAN



When checking the WOL register value against the option masks, use '&'
rather than '|' so the bitwise operations work as expected.

Signed-off-by: default avatarJeff Westfahl <jeff.westfahl@ni.com>
Signed-off-by: default avatarBen Shelton <ben.shelton@ni.com>
Acked-by: default avatarJaeden Amero <jaeden.amero@ni.com>
Acked-by: default avatarGratian Crisan <gratian.crisan@ni.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 1eadb04b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment