aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/hamradio/baycom_epp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/hamradio/baycom_epp.c b/drivers/net/hamradio/baycom_epp.c
index 7bcaf7c66243..ee06a13ba0f6 100644
--- a/drivers/net/hamradio/baycom_epp.c
+++ b/drivers/net/hamradio/baycom_epp.c
@@ -596,7 +596,8 @@ static int receive(struct net_device *dev, int cnt)
596 state = 0; 596 state = 0;
597 597
598 /* not flag received */ 598 /* not flag received */
599 else if (!(bitstream & (0x1fe << j)) != (0x0fc << j)) { 599 else if ((bitstream & (0x1fe << j)) !=
600 (0x0fc << j)) {
600 if (state) 601 if (state)
601 do_rxpacket(dev); 602 do_rxpacket(dev);
602 bc->hdlcrx.bufcnt = 0; 603 bc->hdlcrx.bufcnt = 0;