Skip to content

Commit

Permalink
staging: rtl8723bs: Add missing braces in else statement.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Quytelda Kahja authored and Greg Kroah-Hartman committed Mar 29, 2018
1 parent 4041eeb commit 3087985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

/*
Expand Down

0 comments on commit 3087985

Please sign in to comment.