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)
commitc56cf3edc7f59ed0f848a31bc307537df847238b
tree91c9688cc016d06b73b932acb4ac57d5373b16c1
parent09a227a19169b5ce55b8521e34117a3d71372939
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