Commit 13dca9b8 authored by Robert Schulze's avatar Robert Schulze Committed by John W. Linville

[PATCH] airo: collapse debugging-messages in issuecommand to one line

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 416512cb
...@@ -3950,13 +3950,11 @@ static u16 issuecommand(struct airo_info *ai, Cmd *pCmd, Resp *pRsp) { ...@@ -3950,13 +3950,11 @@ static u16 issuecommand(struct airo_info *ai, Cmd *pCmd, Resp *pRsp) {
pRsp->rsp0 = IN4500(ai, RESP0); pRsp->rsp0 = IN4500(ai, RESP0);
pRsp->rsp1 = IN4500(ai, RESP1); pRsp->rsp1 = IN4500(ai, RESP1);
pRsp->rsp2 = IN4500(ai, RESP2); pRsp->rsp2 = IN4500(ai, RESP2);
if ((pRsp->status & 0xff00)!=0 && pCmd->cmd != CMD_SOFTRESET) { if ((pRsp->status & 0xff00)!=0 && pCmd->cmd != CMD_SOFTRESET)
airo_print_err(ai->dev->name, "cmd= %x\n", pCmd->cmd); airo_print_err(ai->dev->name,
airo_print_err(ai->dev->name, "status= %x\n", pRsp->status); "cmd:%x status:%x rsp0:%x rsp1:%x rsp2:%x",
airo_print_err(ai->dev->name, "Rsp0= %x\n", pRsp->rsp0); pCmd->cmd, pRsp->status, pRsp->rsp0, pRsp->rsp1,
airo_print_err(ai->dev->name, "Rsp1= %x\n", pRsp->rsp1); pRsp->rsp2);
airo_print_err(ai->dev->name, "Rsp2= %x\n", pRsp->rsp2);
}
// clear stuck command busy if necessary // clear stuck command busy if necessary
if (IN4500(ai, COMMAND) & COMMAND_BUSY) { if (IN4500(ai, COMMAND) & COMMAND_BUSY) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment