dm9601: handle corrupt mac address
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 6 Jan 2009 18:55:10 +0000 (10:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2009 18:55:32 +0000 (10:55 -0800)
commit20f10aa07d8d4d43ae8e129c39a84e1670b0d5ab
treedb283b501631fbf6d21b402c580d7dc86809a4a4
parente1c096e251e52773afeffbbcb74d0a072be47ea3
dm9601: handle corrupt mac address

Some cheap devices ship with dangling EEPROM pins!
They always return invalid address ff:ff:ff:ff:ff:ff.

Inherit the auto-generated address in this case,
so that these products can work with zero configuration.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/dm9601.c