Commit c89e9869 authored by Georgiana Rodica Chelu's avatar Georgiana Rodica Chelu Committed by Greg Kroah-Hartman

staging:rtl8188eu Add spaces around binary operator

Add spaces around binary operator '&' in order to
increase the readability of the code.
Signed-off-by: default avatarGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15411ed5
...@@ -1763,20 +1763,20 @@ int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_fra ...@@ -1763,20 +1763,20 @@ int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_fra
switch (pattrib->priority) { switch (pattrib->priority) {
case 1: case 1:
case 2: case 2:
wmmps_ac = psta->uapsd_bk&BIT(0); wmmps_ac = psta->uapsd_bk & BIT(0);
break; break;
case 4: case 4:
case 5: case 5:
wmmps_ac = psta->uapsd_vi&BIT(0); wmmps_ac = psta->uapsd_vi & BIT(0);
break; break;
case 6: case 6:
case 7: case 7:
wmmps_ac = psta->uapsd_vo&BIT(0); wmmps_ac = psta->uapsd_vo & BIT(0);
break; break;
case 0: case 0:
case 3: case 3:
default: default:
wmmps_ac = psta->uapsd_be&BIT(0); wmmps_ac = psta->uapsd_be & BIT(0);
break; break;
} }
...@@ -1890,20 +1890,20 @@ void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta) ...@@ -1890,20 +1890,20 @@ void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta)
switch (pxmitframe->attrib.priority) { switch (pxmitframe->attrib.priority) {
case 1: case 1:
case 2: case 2:
wmmps_ac = psta->uapsd_bk&BIT(1); wmmps_ac = psta->uapsd_bk & BIT(1);
break; break;
case 4: case 4:
case 5: case 5:
wmmps_ac = psta->uapsd_vi&BIT(1); wmmps_ac = psta->uapsd_vi & BIT(1);
break; break;
case 6: case 6:
case 7: case 7:
wmmps_ac = psta->uapsd_vo&BIT(1); wmmps_ac = psta->uapsd_vo & BIT(1);
break; break;
case 0: case 0:
case 3: case 3:
default: default:
wmmps_ac = psta->uapsd_be&BIT(1); wmmps_ac = psta->uapsd_be & BIT(1);
break; break;
} }
...@@ -2016,20 +2016,20 @@ void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *pst ...@@ -2016,20 +2016,20 @@ void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *pst
switch (pxmitframe->attrib.priority) { switch (pxmitframe->attrib.priority) {
case 1: case 1:
case 2: case 2:
wmmps_ac = psta->uapsd_bk&BIT(1); wmmps_ac = psta->uapsd_bk & BIT(1);
break; break;
case 4: case 4:
case 5: case 5:
wmmps_ac = psta->uapsd_vi&BIT(1); wmmps_ac = psta->uapsd_vi & BIT(1);
break; break;
case 6: case 6:
case 7: case 7:
wmmps_ac = psta->uapsd_vo&BIT(1); wmmps_ac = psta->uapsd_vo & BIT(1);
break; break;
case 0: case 0:
case 3: case 3:
default: default:
wmmps_ac = psta->uapsd_be&BIT(1); wmmps_ac = psta->uapsd_be & BIT(1);
break; break;
} }
......
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