]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitef5a029472def60c50338e19f1bbb20f7788e40c
treed5192f5c230a2e84a6a0b23eed7e802ebf6ab555
parentb420a73def05576f3f09deed357791b1d8507376
[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