ath5k: no need to save/restore the default antenna
authorBruno Randolf <br1@einfach.org>
Mon, 7 Jun 2010 04:11:35 +0000 (13:11 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jun 2010 13:31:21 +0000 (09:31 -0400)
commit20fbed21e934355ee00850f6dead22be3147893f
treeaf00747418f8fa4383c6485804180ade94ff1454
parent0ca74027ac709f99aae1805e593c95843dd18234
ath5k: no need to save/restore the default antenna

Since ath5k_hw_set_antenna_mode() always writes the default antenna register
and is called at the end of reset, there is no need to separately save and
restore the default antenna.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/reset.c