diff options
| author | 2010-06-07 13:11:30 +0900 | |
|---|---|---|
| committer | 2010-06-08 09:31:20 -0400 | |
| commit | 0ca74027ac709f99aae1805e593c95843dd18234 (patch) | |
| tree | 282f5e8e943632a202e64bc3a60351a45f2679a4 /kernel/sysctl_binary.c | |
| parent | ath5k: update AR5K_PHY_RESTART_DIV_GC values to match masks (diff) | |
ath5k: new function for setting the antenna switch table
Collect all pieces concering the antenna switch table into one function.
Previously it was split up between ath5k_hw_reset() and
ath5k_hw_commit_eeprom_settings().
Also we need to set the antenna switch table when ath5k_hw_set_antenna_mode()
is called manually (by "iw phy0 antenna set", for example).
I'm not sure if we need to set the switchtable at the same place in
ath5k_hw_reset() as it was before - it is set later thru
ath5k_hw_set_antenna_mode() anyways - but i leave it there to avoid
problems(?).
Plus print switchtable registers in the debugfs file.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
