ralink: check ethernet MAC address whether it is valid
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 28 Jan 2015 12:06:22 +0000 (12:06 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 28 Jan 2015 12:06:22 +0000 (12:06 +0000)
commit6176c1f8b7c10e0f844fbf0f0f084a3881ad5417
tree432d4485d8a682ef3dd43e9799d92078abf1aa88
parente6a1fbe79abb7fe28fa01dba46eb3cc54a9d43bc
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