ralink: check ethernet MAC address whether it is valid
authorJohn Crispin <john@openwrt.org>
Wed, 28 Jan 2015 12:06:22 +0000 (12:06 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 28 Jan 2015 12:06:22 +0000 (12:06 +0000)
commit28db1078940a9ac39292c66845abd1d68c93ebf0
tree432d4485d8a682ef3dd43e9799d92078abf1aa88
parent70f414df22f0a20a052df6699dedb8514b9dd589
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>
SVN-Revision: 44166
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c