tty: ipwireless: check ppp register worked
authorAlan Cox <alan@linux.intel.com>
Mon, 17 Sep 2012 11:01:40 +0000 (12:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 11:45:30 +0000 (04:45 -0700)
commitb6abc90480a6bff2c2ff4904b7ae708f51ce8c03
treeaab5ac65d5f10259c35a019d55deb5b62e3f1384
parent41fda9c4d9437846f4ca667e134c6d840f67b9c2
tty: ipwireless: check ppp register worked

Otherwise we start trying to use a bogus channel - ungood.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/ipwireless/network.c