Permalink
Browse files

firewire-sbp-target: add 'ignoring DOORBELL' debug message

  • Loading branch information...
bootc committed Apr 11, 2012
1 parent d632ed9 commit df849b230bcfd29f35722f03f399561e965e6357
Showing with 1 addition and 0 deletions.
  1. +1 −0 drivers/target/sbp/sbp_target_agent.c
@@ -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;

0 comments on commit df849b2

Please sign in to comment.