Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd3fbb65 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by Kalle Valo
Browse files

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: default avatarKalle Valo <kvalo@codeaurora.org>
parent c5aa9541
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -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;