Skip to content

Commit

Permalink
isdn: misplaced parenthesis in pof_handle_data()
Browse files Browse the repository at this point in the history
The parenthesis was misplaced.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Roel Kluin authored and David S. Miller committed Mar 15, 2010
1 parent 9baddeb commit dec9951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/isdn/hysdn/hysdn_boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dec9951

Please sign in to comment.