summaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-02-06 11:03:08 +0300
committerDavid S. Miller <davem@davemloft.net>2014-02-06 21:18:06 -0800
commitcd139781546f22c41276045f6464c51074b50c40 (patch)
tree782a0e7cadb22c51fad598c218785011e42aceff /drivers/isdn
parent661dbf34129cecd20879cb7b1cbe936911da0f02 (diff)
downloadlinux-stable-cd139781546f22c41276045f6464c51074b50c40.tar.gz
linux-stable-cd139781546f22c41276045f6464c51074b50c40.tar.bz2
linux-stable-cd139781546f22c41276045f6464c51074b50c40.zip
isdn/hisax: hex vs decimal typo in prfeatureind()
This is a static checker fix, but judging from the context then I think hexidecimal 0x80 is intended here instead of decimal 80. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hisax/q931.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/q931.c b/drivers/isdn/hisax/q931.c
index af1b020a81f1..b420f8bd862e 100644
--- a/drivers/isdn/hisax/q931.c
+++ b/drivers/isdn/hisax/q931.c
@@ -810,7 +810,7 @@ prfeatureind(char *dest, u_char *p)
dp += sprintf(dp, " octet 3 ");
dp += prbits(dp, *p, 8, 8);
*dp++ = '\n';
- if (!(*p++ & 80)) {
+ if (!(*p++ & 0x80)) {
dp += sprintf(dp, " octet 4 ");
dp += prbits(dp, *p++, 8, 8);
*dp++ = '\n';