Re: [v2,7/7] gianfar: add support for wake-on-packet
From: David Miller <davem@davemloft.net> Date: 2011-11-21 19:53:17
The ->gfar_set_wol() code doesn't validate that the requested settings
do not try to set bits outside of priv->wol_supported.
Just remove the check against "!priv->wol_supported" and replace it
with something like "!(wol->wolopts & ~priv->wol_supported)"