]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: pattrib->priority can't be > 15, no need for CHKBIT()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:04:20 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:12:02 +0000 (13:12 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme.c

index 900fc520d7ce967a18e9393b46e871d3c7b65572..a5fca8141e323688c37a30472a0134ea3d300986 100644 (file)
@@ -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);
                }