Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223500
b: refs/heads/master
c: 093d804
h: refs/heads/master
v: v3
  • Loading branch information
Ken Mills authored and Greg Kroah-Hartman committed Dec 16, 2010
1 parent b0bf5a9 commit a7314ee
Show file tree
Hide file tree
Showing 2 changed files with 3 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: be7a7411d63ccad165d66fe8e0b11b2ee336159b
refs/heads/master: 093d804611b9a38fe59753b37c29f840518406a9
2 changes: 2 additions & 0 deletions trunk/drivers/tty/n_gsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,8 @@ static void gsm_control_reply(struct gsm_mux *gsm, int cmd, u8 *data,
{
struct gsm_msg *msg;
msg = gsm_data_alloc(gsm, 0, dlen + 2, gsm->ftype);
if (msg == NULL)
return;
msg->data[0] = (cmd & 0xFE) << 1 | EA; /* Clear C/R */
msg->data[1] = (dlen << 1) | EA;
memcpy(msg->data + 2, data, dlen);
Expand Down

0 comments on commit a7314ee

Please sign in to comment.