Skip to contentSkip to conversation

isdn: misplaced parenthesis in pof_handle_data()

PATCH New Roel Kluin 1 participant 1 message Feb 15, 2010

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 isdn: misplaced parenthesis in pof_handle_data()

The parenthesis was misplaced

---

drivers/isdn/hysdn/hysdn_boot.c +1 -1
index be787e1..4f541ef 100644
@@ -143,7 +143,7 @@ pof_handle_data(hysdn_card * card, int datlen)
 					     (boot->pof_recid == TAG_CABSDATA) ? "CABSDATA" : "ABSDATA",
 					     datlen, boot->pof_recoffset);
 
-			if ((boot->last_error = card->writebootseq(card, boot->buf.BootBuf, datlen) < 0))
+			if ((boot->last_error = card->writebootseq(card, boot->buf.BootBuf, datlen)) < 0)
 				return (boot->last_error);	/* error writing data */
 
 			if (boot->pof_recoffset + datlen >= boot->pof_reclen)