aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/strip.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/strip.c')
-rw-r--r--drivers/net/wireless/strip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/strip.c b/drivers/net/wireless/strip.c
index 337c692f6fd6..ce3a8bac66ff 100644
--- a/drivers/net/wireless/strip.c
+++ b/drivers/net/wireless/strip.c
@@ -798,7 +798,7 @@ static unsigned int get_baud(struct tty_struct *tty)
798 */ 798 */
799static void set_baud(struct tty_struct *tty, unsigned int baudcode) 799static void set_baud(struct tty_struct *tty, unsigned int baudcode)
800{ 800{
801 struct termios old_termios = *(tty->termios); 801 struct ktermios old_termios = *(tty->termios);
802 tty->termios->c_cflag &= ~CBAUD; /* Clear the old baud setting */ 802 tty->termios->c_cflag &= ~CBAUD; /* Clear the old baud setting */
803 tty->termios->c_cflag |= baudcode; /* Set the new baud setting */ 803 tty->termios->c_cflag |= baudcode; /* Set the new baud setting */
804 tty->driver->set_termios(tty, &old_termios); 804 tty->driver->set_termios(tty, &old_termios);