ath5k: fix regression introduced upon the removal of AR5K_HIGH_ID()
The trick was to add four bytes whenever this was used. There are two places where this was missed. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
a72d57a862
commit
91b9eb8261
@@ -1178,7 +1178,7 @@ int ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode,
|
||||
get_unaligned_le32(common->macaddr),
|
||||
AR5K_STA_ID0);
|
||||
ath5k_hw_reg_write(ah,
|
||||
staid1_flags | get_unaligned_le16(common->macaddr),
|
||||
staid1_flags | get_unaligned_le16(common->macaddr + 4),
|
||||
AR5K_STA_ID1);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user