aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/libertas/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/scan.c b/drivers/net/wireless/libertas/scan.c
index fab93d8fe9c7..dcce354e904c 100644
--- a/drivers/net/wireless/libertas/scan.c
+++ b/drivers/net/wireless/libertas/scan.c
@@ -578,7 +578,7 @@ static int wlan_scan_channel_list(wlan_private * priv,
578 578
579 lbs_deb_enter(LBS_DEB_ASSOC); 579 lbs_deb_enter(LBS_DEB_ASSOC);
580 580
581 if (pscancfgout == 0 || pchantlvout == 0 || pscanchanlist == 0) { 581 if (!pscancfgout || !pchantlvout || !pscanchanlist) {
582 lbs_deb_scan("Scan: Null detect: %p, %p, %p\n", 582 lbs_deb_scan("Scan: Null detect: %p, %p, %p\n",
583 pscancfgout, pchantlvout, pscanchanlist); 583 pscancfgout, pchantlvout, pscanchanlist);
584 return -1; 584 return -1;