Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328292
b: refs/heads/master
c: 4c0ba9a
h: refs/heads/master
v: v3
  • Loading branch information
Waldemar Rymarkiewicz authored and Samuel Ortiz committed Sep 24, 2012
1 parent 983f157 commit 1092843
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12bfd1e8906637757a0bc42970f0fc11a9918019
refs/heads/master: 4c0ba9ac4bf5f20ada774f5d181d03044e0147e7
10 changes: 5 additions & 5 deletions trunk/net/nfc/hci/llc_shdlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
enum shdlc_state {
SHDLC_DISCONNECTED = 0,
SHDLC_CONNECTING = 1,
SHDLC_NEGOCIATING = 2,
SHDLC_NEGOTIATING = 2,
SHDLC_HALF_CONNECTED = 3,
SHDLC_CONNECTED = 4
};
Expand Down Expand Up @@ -416,7 +416,7 @@ static void llc_shdlc_rcv_u_frame(struct llc_shdlc *shdlc,
switch (u_frame_modifier) {
case U_FRAME_RSET:
switch (shdlc->state) {
case SHDLC_NEGOCIATING:
case SHDLC_NEGOTIATING:
case SHDLC_CONNECTING:
/*
* We sent RSET, but chip wants to negociate or we
Expand Down Expand Up @@ -457,7 +457,7 @@ static void llc_shdlc_rcv_u_frame(struct llc_shdlc *shdlc,
case U_FRAME_UA:
if ((shdlc->state == SHDLC_CONNECTING &&
shdlc->connect_tries > 0) ||
(shdlc->state == SHDLC_NEGOCIATING)) {
(shdlc->state == SHDLC_NEGOTIATING)) {
llc_shdlc_connect_complete(shdlc, 0);
shdlc->state = SHDLC_CONNECTED;
}
Expand Down Expand Up @@ -640,10 +640,10 @@ static void llc_shdlc_sm_work(struct work_struct *work)
mod_timer(&shdlc->connect_timer, jiffies +
msecs_to_jiffies(SHDLC_CONNECT_VALUE_MS));

shdlc->state = SHDLC_NEGOCIATING;
shdlc->state = SHDLC_NEGOTIATING;
}
break;
case SHDLC_NEGOCIATING:
case SHDLC_NEGOTIATING:
if (timer_pending(&shdlc->connect_timer) == 0) {
shdlc->state = SHDLC_CONNECTING;
queue_work(system_nrt_wq, &shdlc->sm_work);
Expand Down

0 comments on commit 1092843

Please sign in to comment.