Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130713
b: refs/heads/master
c: 8f5140a
h: refs/heads/master
i:
  130711: 67c7d26
v: v3
  • Loading branch information
David Vrabel committed Jan 23, 2009
1 parent 02d7cd2 commit db5a73c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: dff243f7cb3a2ebbb09093066c1bc4a90ff5b3a4
refs/heads/master: 8f5140a6a0b1a9aa79585b0008e88c5d266c5c1d
4 changes: 2 additions & 2 deletions trunk/drivers/uwb/drp.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ static void uwb_rc_set_drp_cmd_done(struct uwb_rc *rc, void *arg,
} else
dev_err(&rc->uwb_dev.dev, "SET-DRP-IE: timeout\n");

spin_lock(&rc->rsvs_lock);
spin_lock_bh(&rc->rsvs_lock);
if (rc->set_drp_ie_pending > 1) {
rc->set_drp_ie_pending = 0;
uwb_rsv_queue_update(rc);
} else {
rc->set_drp_ie_pending = 0;
}
spin_unlock(&rc->rsvs_lock);
spin_unlock_bh(&rc->rsvs_lock);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/uwb/rsv.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ void uwb_rsv_queue_update(struct uwb_rc *rc)
*/
void uwb_rsv_sched_update(struct uwb_rc *rc)
{
spin_lock(&rc->rsvs_lock);
spin_lock_bh(&rc->rsvs_lock);
if (!delayed_work_pending(&rc->rsv_update_work)) {
if (rc->set_drp_ie_pending > 0) {
rc->set_drp_ie_pending++;
Expand All @@ -879,7 +879,7 @@ void uwb_rsv_sched_update(struct uwb_rc *rc)
uwb_rsv_queue_update(rc);
}
unlock:
spin_unlock(&rc->rsvs_lock);
spin_unlock_bh(&rc->rsvs_lock);
}

/*
Expand Down

0 comments on commit db5a73c

Please sign in to comment.