strip: Fix termios assumption
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 12 May 2008 11:29:25 +0000 (12:29 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 12 May 2008 14:27:38 +0000 (07:27 -0700)
commit79f999d0aa264f72f5491be14b4bf60137a3d3a9
tree8b8811f6a3472ae06a81de0c75a37ab4450b5dd3
parent492c2e476eac010962850006c49df326919b284c
strip: Fix termios assumption

Strip assumes that the tty drivers always have a set_termios method which
may not be true. Check this when binding to the tty so that we don't oops
later.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/wireless/strip.c