[PATCH] rtl8187: ensure priv->hwaddr is always valid
authorMichael Wu <flamingice@sourmilk.net>
Mon, 16 Jul 2007 00:09:55 +0000 (17:09 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Aug 2007 19:06:03 +0000 (15:06 -0400)
commitc43bff43e0617dd56515b4ea42a8037c699c86f1
tree7d74ae44dca335178ac6dd510e35b52e66da4add
parent313b0d3d863453cb596ea42aed07f8e1a9b0a7e2
[PATCH] rtl8187: ensure priv->hwaddr is always valid

conf->mac_addr is not guaranteed to be set. This ensures priv->hwaddr is
always set to a valid mac address. Thanks to Johannes Berg
<johannes@sipsolutions.net> for finding this problem.

Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl8187_dev.c