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>
This commit is contained in:
parent
4041eeb8fc
commit
3087985a65
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user