diff options
author | Quytelda Kahja <quytelda@tamalin.org> | 2018-03-27 04:41:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-29 05:59:28 -0400 |
commit | 3087985a65327a6d578c12b9f4df7e75d00462da (patch) | |
tree | d317084968b5ac9627b2fe2abbd704c397be3808 | |
parent | 4041eeb8fc1440b8d8fc4d83eb2f91f00307f34c (diff) |
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, | |||
75 | pattrib->mdata = (u8)prxreport->md; | 75 | pattrib->mdata = (u8)prxreport->md; |
76 | 76 | ||
77 | pattrib->data_rate = (u8)prxreport->rx_rate; | 77 | pattrib->data_rate = (u8)prxreport->rx_rate; |
78 | } else | 78 | } else { |
79 | pattrib->pkt_len = (u16)prxreport->pktlen; | 79 | pattrib->pkt_len = (u16)prxreport->pktlen; |
80 | } | ||
80 | } | 81 | } |
81 | 82 | ||
82 | /* | 83 | /* |