bgmac: fix "cmdcfg" calls for promisc and loopback modes
authorRafał Miłecki <zajec5@gmail.com>
Thu, 7 Feb 2013 05:40:38 +0000 (05:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2013 22:44:01 +0000 (17:44 -0500)
commite9ba103931950da7bc87d58ffe39612df17d47af
treebb60336c756598c512aa6877e7ba1b79ba92840e
parentd166f218ff2bae0f6adae9ce5444a889a1d749e2
bgmac: fix "cmdcfg" calls for promisc and loopback modes

The last (bool) parameter in bgmac_cmdcfg_maskset says if the write
should be made, even if value didn't change. Currently driver doesn't
match the specs about (not) forcing some changes. This makes it follow
them.

Reported-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c