Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354748
b: refs/heads/master
c: f96f7f7
h: refs/heads/master
v: v3
  • Loading branch information
xiaojin authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent 1abff85 commit c073b06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5425e03f97d1e5847372aae0b895d8d1c9bf2741
refs/heads/master: f96f7f7f39af53274d98aa9c29d6fa4d122218a4
3 changes: 3 additions & 0 deletions trunk/drivers/tty/n_gsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ static void gsm_send(struct gsm_mux *gsm, int addr, int cr, int control)
int len;
u8 cbuf[10];
u8 ibuf[3];
unsigned long flags;

switch (gsm->encoding) {
case 0:
Expand Down Expand Up @@ -602,7 +603,9 @@ static void gsm_send(struct gsm_mux *gsm, int addr, int cr, int control)
WARN_ON(1);
return;
}
spin_lock_irqsave(&gsm->tx_lock, flags);
gsm->output(gsm, cbuf, len);
spin_unlock_irqrestore(&gsm->tx_lock, flags);
gsm_print_packet("-->", addr, cr, control, NULL, 0);
}

Expand Down

0 comments on commit c073b06

Please sign in to comment.