Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57709
b: refs/heads/master
c: b7e773b
h: refs/heads/master
i:
  57707: 3337ad2
v: v3
  • Loading branch information
G. Liakhovetski authored and David S. Miller committed Jun 9, 2007
1 parent e4a3229 commit 6c1c564
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: c0cfe7faa12f189ef1024fce5a710791d0062355
refs/heads/master: b7e773b869f49bbd69e9dad76b34d3552627fac5
10 changes: 4 additions & 6 deletions trunk/net/irda/irlap_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1418,14 +1418,14 @@ static int irlap_state_nrm_p(struct irlap_cb *self, IRLAP_EVENT event,
*/
self->remote_busy = FALSE;

/* Stop final timer */
del_timer(&self->final_timer);

/*
* Nr as expected?
*/
ret = irlap_validate_nr_received(self, info->nr);
if (ret == NR_EXPECTED) {
/* Stop final timer */
del_timer(&self->final_timer);

/* Update Nr received */
irlap_update_nr_received(self, info->nr);

Expand Down Expand Up @@ -1457,14 +1457,12 @@ static int irlap_state_nrm_p(struct irlap_cb *self, IRLAP_EVENT event,

/* Resend rejected frames */
irlap_resend_rejected_frames(self, CMD_FRAME);

/* Final timer ??? Jean II */
irlap_start_final_timer(self, self->final_timeout * 2);

irlap_next_state(self, LAP_NRM_P);
} else if (ret == NR_INVALID) {
IRDA_DEBUG(1, "%s(), Received RR with "
"invalid nr !\n", __FUNCTION__);
del_timer(&self->final_timer);

irlap_next_state(self, LAP_RESET_WAIT);

Expand Down

0 comments on commit 6c1c564

Please sign in to comment.