Skip to content

Commit

Permalink
firewire-sbp-target: add 'ignoring DOORBELL' debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
bootc committed Apr 11, 2012
1 parent d632ed9 commit df849b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/target/sbp/sbp_target_agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ static int tgt_agent_rw_doorbell(struct fw_card *card, int tcode, void *data,
spin_lock_bh(&agent->lock);
if (agent->state != AGENT_STATE_SUSPENDED) {
spin_unlock_bh(&agent->lock);
pr_debug("Ignoring DOORBELL while active.\n");
return RCODE_CONFLICT_ERROR;
}
agent->state = AGENT_STATE_ACTIVE;
Expand Down

0 comments on commit df849b2

Please sign in to comment.