Commit 561fb403 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: pattrib->priority can't be > 15, no need for CHKBIT()

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7855848e
......@@ -2449,8 +2449,7 @@ void rtw_issue_addbareq_cmd23a(struct rtw_adapter *padapter,
if (issued == 0) {
DBG_8723A("rtw_issue_addbareq_cmd23a, p =%d\n",
priority);
psta->htpriv.candidate_tid_bitmap |=
CHKBIT((u8)priority);
psta->htpriv.candidate_tid_bitmap |= BIT(priority);
rtw_addbareq_cmd23a(padapter, (u8) priority,
pattrib->ra);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment