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:
Stanislaw Gruszka 2016-08-25 17:05:16 +02:00 committed by Kalle Valo
parent c5aa954181
commit fd3fbb65ca
1 changed files with 1 additions and 2 deletions

View File

@ -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;