mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 18:12:25 -04:00
staging: rtl8723au: No need for CHKBIT since 16 + 12 is still < 32
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
072fc84dce
commit
5a44389331
@@ -380,9 +380,9 @@ void add_RATid23a(struct rtw_adapter *padapter, struct sta_info *psta, u8 rssi_l
|
||||
else
|
||||
limit = 8;/* 1R */
|
||||
|
||||
for (i = 0; i<limit; i++) {
|
||||
if (psta_ht->ht_cap.mcs.rx_mask[i/8] & BIT(i%8))
|
||||
tx_ra_bitmap |= CHKBIT(i+12);
|
||||
for (i = 0; i < limit; i++) {
|
||||
if (psta_ht->ht_cap.mcs.rx_mask[i / 8] & BIT(i % 8))
|
||||
tx_ra_bitmap |= BIT(i + 12);
|
||||
}
|
||||
|
||||
/* max short GI rate */
|
||||
|
||||
Reference in New Issue
Block a user