mirror of https://gitee.com/openkylin/linux.git
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:
parent
c5aa954181
commit
fd3fbb65ca
|
@ -2074,8 +2074,7 @@ mwifiex_check_winner_status(struct mwifiex_adapter *adapter)
|
|||
adapter->winner = 1;
|
||||
} else {
|
||||
mwifiex_dbg(adapter, ERROR,
|
||||
"PCI-E is not the winner <%#x,%d>, exit dnld\n",
|
||||
ret, adapter->winner);
|
||||
"PCI-E is not the winner <%#x>", winner);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue