ralink: check ethernet MAC address whether it is valid
authorJohn Crispin <blogic@openwrt.org>
Wed, 28 Jan 2015 12:06:22 +0000 (12:06 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 28 Jan 2015 12:06:22 +0000 (12:06 +0000)
commit3e6b801eb487cf2339f779e69222540f37d7d821
tree432d4485d8a682ef3dd43e9799d92078abf1aa88
parent27fe727852549ecdc9755990826a08a01ecc3522
ralink: check ethernet MAC address whether it is valid

The mac address usually write in factory block. but sometime user erase this block , the mac address will change to ff:ff:ff:ff:ff:ff.
This patch is purpose to fix this issue.

Signed-off-by: wengbj <linux.c@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44166 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c