]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96141b2253f6d66c4a14c1f1d195e0a5da8d30cf
tree325d799b06b76c207047db0ff35ee8a4e6b90140
parentf6c9e5e4a8b06cd534e9f2ec5ef60c59aa65ae71
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