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

Commit 314a886f authored by Holger Schurig's avatar Holger Schurig Committed by David S. Miller
Browse files

[PATCH] libertas: fix "warning: Using plain integer as NULL pointer" sparse warnings



This fixes three "warning: Using plain integer as NULL pointer"
sparse warnings.

Signed-off-by: default avatarHolger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 8b17d723
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -578,7 +578,7 @@ static int wlan_scan_channel_list(wlan_private * priv,

	lbs_deb_enter(LBS_DEB_ASSOC);

	if (pscancfgout == 0 || pchantlvout == 0 || pscanchanlist == 0) {
	if (!pscancfgout || !pchantlvout || !pscanchanlist) {
		lbs_deb_scan("Scan: Null detect: %p, %p, %p\n",
		       pscancfgout, pchantlvout, pscanchanlist);
		return -1;