treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git] / net / mac80211 / scan.c
index a3b1bcc..2e917a6 100644 (file)
@@ -1157,7 +1157,7 @@ int __ieee80211_request_sched_scan_start(struct ieee80211_sub_if_data *sdata,
                }
        }
 
-       ie = kzalloc(num_bands * iebufsz, GFP_KERNEL);
+       ie = kcalloc(iebufsz, num_bands, GFP_KERNEL);
        if (!ie) {
                ret = -ENOMEM;
                goto out;