ath5k: set mac address in add_interface
authorBob Copeland <me@bobcopeland.com>
Tue, 18 Nov 2008 04:40:38 +0000 (23:40 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Nov 2008 14:47:35 +0000 (09:47 -0500)
commit0e149cf5a1b1900484f4b808d59a5f246cd720be
tree1392d353012242c9fc313ae67b881a8dccb9040c
parent8f93b8b337763a58fcdf23333ffe752db6c93bae
ath5k: set mac address in add_interface

Configure the mac address in add_interface and clear it in
remove_interface so that users can change the mac address
to something other than the one in the eeprom.  Also avoid
setting it at attach time so that we won't ack packets
until fully set up.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/attach.c
drivers/net/wireless/ath5k/base.c