]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix typo in capi driver
authorAlan Cox <alan@redhat.com>
Thu, 30 Sep 2004 01:41:12 +0000 (18:41 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Sep 2004 01:41:12 +0000 (18:41 -0700)
I didn't have ISDN builds on in my tree for some reason hence missing these
two from the tidy ups at the end. Marcel Holtmann also came up with the
same fixes although I didnt find that email until I did these.

Signed-off-by: Alan Cox
drivers/isdn/capi/capi.c

index b49a308116c353a6b800b3c26f087c4f158845da..9370808bb328057f5379cbb99715bdf5fa52b4f5 100644 (file)
@@ -646,7 +646,7 @@ static void capi_recv_message(struct capi20_appl *ap, struct sk_buff *skb)
                kfree_skb(skb);
                (void)capiminor_del_ack(mp, datahandle);
                if (mp->tty)
-                       tty_wakeup(tty);
+                       tty_wakeup(mp->tty);
                (void)handle_minor_send(mp);
 
        } else {