[mcs814x] nuport-mac: disable MAC RX and TX during interface close
authorFlorian Fainelli <florian@openwrt.org>
Mon, 3 Sep 2012 10:26:01 +0000 (10:26 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 3 Sep 2012 10:26:01 +0000 (10:26 +0000)
commita7b6531eea8816a1987e5fcb0e2c0c9c32a12680
treef84059f58f6e1c5a561661ec2afdc1acb5be30e6
parenta57015d0dc7810ae5b22e968ff2fab52c74f6487
[mcs814x] nuport-mac: disable MAC RX and TX during interface close

Fixes sporadic crashes while reconfiguring the network interface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33312 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/mcs814x/files-3.3/drivers/net/ethernet/mcs8140/nuport_mac.c