Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb053a03 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville
Browse files

ath5k: fix regression on setting bssid mask on association



There was a typo on the second bssid mask register.
This was caused by the patch titled:

"ath5k: use common curbssid, bssidmask and macaddr"

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c6d3597c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -292,7 +292,7 @@ void ath5k_hw_set_associd(struct ath5k_hw *ah, const u8 *bssid, u16 assoc_id)
		ath5k_hw_reg_write(ah, get_unaligned_le32(common->bssidmask),
		ath5k_hw_reg_write(ah, get_unaligned_le32(common->bssidmask),
				   AR_BSSMSKL);
				   AR_BSSMSKL);
		ath5k_hw_reg_write(ah,
		ath5k_hw_reg_write(ah,
				   get_unaligned_le16(common->curbssid + 4),
				   get_unaligned_le16(common->bssidmask + 4),
				   AR_BSSMSKU);
				   AR_BSSMSKU);
	}
	}