Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194460
b: refs/heads/master
c: 6819d57
h: refs/heads/master
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Apr 16, 2010
1 parent f34c1ab commit 5b08026
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 20b3efd979c0d5d9fdf497a98668a806266a63e4
refs/heads/master: 6819d57f07440a8f9540967d9212a70e9c98eceb
8 changes: 2 additions & 6 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1238,23 +1238,19 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
ath9k_hw_spur_mitigate_freq(ah, chan);
ah->eep_ops->set_board_values(ah, chan);

ath9k_hw_set_operating_mode(ah, ah->opmode);

REG_WRITE(ah, AR_STA_ID0, get_unaligned_le32(common->macaddr));
REG_WRITE(ah, AR_STA_ID1, get_unaligned_le16(common->macaddr + 4)
| macStaId1
| AR_STA_ID1_RTS_USE_DEF
| (ah->config.
ack_6mb ? AR_STA_ID1_ACKCTS_6MB : 0)
| ah->sta_id1_defaults);
ath9k_hw_set_operating_mode(ah, ah->opmode);

ath_hw_setbssidmask(common);

REG_WRITE(ah, AR_DEF_ANTENNA, saveDefAntenna);

ath9k_hw_write_associd(ah);

REG_WRITE(ah, AR_ISR, ~0);

REG_WRITE(ah, AR_RSSI_THR, INIT_RSSI_THR);

r = ath9k_hw_rf_set_freq(ah, chan);
Expand Down

0 comments on commit 5b08026

Please sign in to comment.