ath5k: preserve higher order bits when setting mac address
authorBob Copeland <me@bobcopeland.com>
Wed, 26 Nov 2008 21:17:11 +0000 (16:17 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:32:12 +0000 (09:32 -0500)
commitf6bac3ea5990653765700b2c3778b08782abebe5
tree325d799b06b76c207047db0ff35ee8a4e6b90140
parent51e9bf5d795b8e01e54391f1790974c7b166d286
ath5k: preserve higher order bits when setting mac address

In some cases we would like to set the mac address without changing
the operating mode.  However, Atheros cards store PCU data in the high
16 bits of the mac address register.  Change ath5k_hw_set_lladdr() to
not clobber the PCU settings.

Changes-licensed-under: ISC
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/pcu.c