Skip to contentSkip to conversation

Staging: Fix branch in zfProtRspSim()

PATCH New Roel Kluin 1 participant 1 message Dec 10, 2009 Staging

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 Staging: Fix branch in zfProtRspSim()

This semicolon is misplaced.

---
 drivers/staging/otus/80211core/ctxrx.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/staging/otus/80211core/ctxrx.c +1 -2
index e258a7d..7730e2c 100644
@@ -536,8 +536,7 @@ void zfProtRspSim(zdev_t* dev, zbuf_t* buf)
         zm_msg2_rx(ZM_LV_2, "ip1=", dip[1]);
 
         //ARP request to 192.168.1.15
-        if ((arpOp == 0x0100) && (dip[0] == 0xa8c0) && (dip[1] == 0x0f01));
-        {
+        if ((arpOp == 0x0100) && (dip[0] == 0xa8c0) && (dip[1] == 0x0f01)) {
             zm_msg0_rx(ZM_LV_2, "ARP");
             /* ARP response */
             zmw_rx_buf_writeh(dev, buf, 20, 0x0200);