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:Jeff Westfahl <jeff.westfahl@ni.com> Signed-off-by:
Ben Shelton <ben.shelton@ni.com> Acked-by:
Jaeden Amero <jaeden.amero@ni.com> Acked-by:
Gratian Crisan <gratian.crisan@ni.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
Loading
Please sign in to comment