diff options
Diffstat (limited to 'drivers/isdn/capi/capiutil.c')
-rw-r--r-- | drivers/isdn/capi/capiutil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/capi/capiutil.c b/drivers/isdn/capi/capiutil.c index 4073d1684d07..b501d76209f0 100644 --- a/drivers/isdn/capi/capiutil.c +++ b/drivers/isdn/capi/capiutil.c | |||
@@ -207,6 +207,8 @@ static unsigned command_2_index(unsigned c, unsigned sc) | |||
207 | c = 0x9 + (c & 0x0f); | 207 | c = 0x9 + (c & 0x0f); |
208 | else if (c == 0x41) | 208 | else if (c == 0x41) |
209 | c = 0x9 + 0x1; | 209 | c = 0x9 + 0x1; |
210 | if (c > 0x18) | ||
211 | c = 0x00; | ||
210 | return (sc & 3) * (0x9 + 0x9) + c; | 212 | return (sc & 3) * (0x9 + 0x9) + c; |
211 | } | 213 | } |
212 | 214 | ||