Commit 449c0deb authored by Kai Germaschewski's avatar Kai Germaschewski

ISDN: Fix the janitor fix

Adding a check for allocation failure was a good idea, it just needs
checking the right variable...
parent 46ccb465
......@@ -241,7 +241,7 @@ ippp_ccp_alloc(void)
struct ippp_ccp *ccp;
ccp = kmalloc(sizeof(*ccp), GFP_ATOMIC); // FIXME
if (!cpp)
if (!ccp)
return NULL;
memset(ccp, 0, sizeof(*ccp));
ccp->mru = 1524; /* MRU, default 1524 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment