ath5k: preserve antenna settings
save antenna settings and preserve across resets. Signed-off-by: Bruno Randolf <br1@einfach.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
604eeadd18
commit
caec9112d6
@@ -1929,6 +1929,7 @@ ath5k_hw_set_antenna_mode(struct ath5k_hw *ah, u8 ant_mode)
|
||||
|
||||
ah->ah_tx_ant = tx_ant;
|
||||
ah->ah_ant_mode = ant_mode;
|
||||
ah->ah_def_ant = def_ant;
|
||||
|
||||
sta_id1 |= use_def_for_tx ? AR5K_STA_ID1_DEFAULT_ANTENNA : 0;
|
||||
sta_id1 |= update_def_on_tx ? AR5K_STA_ID1_DESC_ANTENNA : 0;
|
||||
|
Reference in New Issue
Block a user