mwifiex: make "PCI-E is not the winner" print more informative
Printing ret and adapter->winner do not provide any useful information as those are always 0 at point where the massage is printed. Print value read from reg->fw_status register instead. Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
c5aa954181
commit
fd3fbb65ca
@@ -2074,8 +2074,7 @@ mwifiex_check_winner_status(struct mwifiex_adapter *adapter)
|
|||||||
adapter->winner = 1;
|
adapter->winner = 1;
|
||||||
} else {
|
} else {
|
||||||
mwifiex_dbg(adapter, ERROR,
|
mwifiex_dbg(adapter, ERROR,
|
||||||
"PCI-E is not the winner <%#x,%d>, exit dnld\n",
|
"PCI-E is not the winner <%#x>", winner);
|
||||||
ret, adapter->winner);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user