From: Roel Kluin <12o3l@tiscali.nl> Date: Wed, 6 Feb 2008 09:38:30 +0000 (-0800) Subject: drivers/isdn/hardware/eicon/message.c fix 'and' typo in eicons' AddInfo() X-Git-Tag: v2.6.25-rc1~636 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=3eb1a6f384ef87c48aa3bdd942732890466b040e;p=linux-2.6-omap-h63xx.git drivers/isdn/hardware/eicon/message.c fix 'and' typo in eicons' AddInfo() '!' has a higher priority than '&'. Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/isdn/hardware/eicon/message.c b/drivers/isdn/hardware/eicon/message.c index b9177ca4369..1ff98e7eb79 100644 --- a/drivers/isdn/hardware/eicon/message.c +++ b/drivers/isdn/hardware/eicon/message.c @@ -9027,7 +9027,7 @@ static byte AddInfo(byte **add_i, /* facility is a nested structure */ /* FTY can be more than once */ - if(esc_chi[0] && !(esc_chi[esc_chi[0]])&0x7f ) + if (esc_chi[0] && !(esc_chi[esc_chi[0]] & 0x7f)) { add_i[0] = (byte *)"\x02\x02\x00"; /* use neither b nor d channel */ }