]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: rtl8723bs: Add spaces around ternary operators.
authorQuytelda Kahja <quytelda@tamalin.org>
Tue, 27 Mar 2018 08:41:05 +0000 (01:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Mar 2018 09:59:28 +0000 (11:59 +0200)
The Linux kernel coding style calls for spaces around binary and
ternary operators.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c

index 0e30e984dc1fef0dcc414c4cdcf05ab5dea35611..9c2d6dd0130fc0ea0ed47c934bd6b729aadc6c80 100644 (file)
@@ -48,7 +48,7 @@ static void update_recvframe_attrib(struct adapter *padapter,
        memset(pattrib, 0, sizeof(struct rx_pkt_attrib));
 
        /*  update rx report to recv_frame attribute */
-       pattrib->pkt_rpt_type = prxreport->c2h_ind?C2H_PACKET:NORMAL_RX;
+       pattrib->pkt_rpt_type = prxreport->c2h_ind ? C2H_PACKET : NORMAL_RX;
 /*     DBG_871X("%s: pkt_rpt_type =%d\n", __func__, pattrib->pkt_rpt_type); */
 
        if (pattrib->pkt_rpt_type == NORMAL_RX) {