|
@@ -64,9 +64,9 @@ static inline int ieee80211_networks_allocate(struct ieee80211_device *ieee)
|
|
|
if (ieee->networks)
|
|
|
return 0;
|
|
|
|
|
|
- ieee->networks = kcalloc(
|
|
|
- MAX_NETWORK_COUNT, sizeof(struct ieee80211_network),
|
|
|
- GFP_KERNEL);
|
|
|
+ ieee->networks = kcalloc(MAX_NETWORK_COUNT,
|
|
|
+ sizeof(struct ieee80211_network),
|
|
|
+ GFP_KERNEL);
|
|
|
if (!ieee->networks) {
|
|
|
printk(KERN_WARNING "%s: Out of memory allocating beacons\n",
|
|
|
ieee->dev->name);
|