diff options
author | Quytelda Kahja <quytelda@tamalin.org> | 2018-03-27 11:41:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-29 12:59:28 +0300 |
commit | 3087985a65327a6d578c12b9f4df7e75d00462da (patch) | |
tree | d317084968b5ac9627b2fe2abbd704c397be3808 | |
parent | 4041eeb8fc1440b8d8fc4d83eb2f91f00307f34c (diff) | |
download | linux-3087985a65327a6d578c12b9f4df7e75d00462da.tar.xz |
staging: rtl8723bs: Add missing braces in else statement.
The style rule to leave out braces in single line conditional statements
doesn't apply when one branch is multiple lines.
Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c index 9c2d6dd0130f..4ba315f1daaf 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c @@ -75,8 +75,9 @@ static void update_recvframe_attrib(struct adapter *padapter, pattrib->mdata = (u8)prxreport->md; pattrib->data_rate = (u8)prxreport->rx_rate; - } else + } else { pattrib->pkt_len = (u16)prxreport->pktlen; + } } /* |