[TG3]: Add some missing netif_running() checks
authorMichael Chan <mchan@broadcom.com>
Tue, 21 Mar 2006 05:33:26 +0000 (21:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 05:33:26 +0000 (21:33 -0800)
commite75f7c900944aa90831f6d343ca40090a68b56dd
treed5192f5c230a2e84a6a0b23eed7e802ebf6ab555
parent0e7b13685f9a06949ea3070c97c0f0085a08cd37
[TG3]: Add some missing netif_running() checks

Add missing netif_running() checks in tg3's dev->set_multicast_list()
and dev->set_mac_address(). If not netif_running(), these 2 calls can
simply return 0 after storing the new settings if required.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c