projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
wireless
/
rt2x00
/
rt2500usb.c
diff --git
a/drivers/net/wireless/rt2x00/rt2500usb.c
b/drivers/net/wireless/rt2x00/rt2500usb.c
index a161e9e33b737bed3fcf9773be64fac58ba0c30b..db64df4267d8b77a7619374a341c40178f6f72fc 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/
drivers/net/wireless/rt2x00/rt2500usb.c
@@
-1707,7
+1707,7
@@
static int rt2500usb_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
/*
* Create channel information array
*/
- info = k
zalloc(spec->num_channels *
sizeof(*info), GFP_KERNEL);
+ info = k
calloc(spec->num_channels,
sizeof(*info), GFP_KERNEL);
if (!info)
return -ENOMEM;