aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/horizon.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c
index 54720baa7363..a95790452a68 100644
--- a/drivers/atm/horizon.c
+++ b/drivers/atm/horizon.c
@@ -1645,10 +1645,8 @@ static int hrz_send (struct atm_vcc * atm_vcc, struct sk_buff * skb) {
1645 unsigned short d = 0; 1645 unsigned short d = 0;
1646 char * s = skb->data; 1646 char * s = skb->data;
1647 if (*s++ == 'D') { 1647 if (*s++ == 'D') {
1648 for (i = 0; i < 4; ++i) { 1648 for (i = 0; i < 4; ++i)
1649 d = (d<<4) | ((*s <= '9') ? (*s - '0') : (*s - 'a' + 10)); 1649 d = (d << 4) | hex_to_bin(*s++);
1650 ++s;
1651 }
1652 PRINTK (KERN_INFO, "debug bitmap is now %hx", debug = d); 1650 PRINTK (KERN_INFO, "debug bitmap is now %hx", debug = d);
1653 } 1651 }
1654 } 1652 }