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

Commit e2261afd authored by Hans Wennborg's avatar Hans Wennborg Committed by John W. Linville
Browse files

mwifiex: fix decimal printf format specifiers prefixed with 0x



The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.

Found by using regex suggested by Joe Perches.

Signed-off-by: default avatarHans Wennborg <hans@hanshq.net>
Acked-by: default avatarAvinash Patil <patila@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 26c06046
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -246,7 +246,7 @@ mwifiex_cfg80211_remain_on_channel(struct wiphy *wiphy,
	}
	}


	if (priv->roc_cfg.cookie) {
	if (priv->roc_cfg.cookie) {
		wiphy_dbg(wiphy, "info: ongoing ROC, cookie = 0x%llu\n",
		wiphy_dbg(wiphy, "info: ongoing ROC, cookie = 0x%llx\n",
			  priv->roc_cfg.cookie);
			  priv->roc_cfg.cookie);
		return -EBUSY;
		return -EBUSY;
	}
	}