Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Conflicts: drivers/net/wireless/wl12xx/wl1271.h drivers/net/wireless/wl12xx/wl1271_cmd.h
This commit is contained in:
@@ -993,11 +993,9 @@ static int orinoco_ioctl_set_genie(struct net_device *dev,
|
||||
return -EINVAL;
|
||||
|
||||
if (wrqu->data.length) {
|
||||
buf = kmalloc(wrqu->data.length, GFP_KERNEL);
|
||||
buf = kmemdup(extra, wrqu->data.length, GFP_KERNEL);
|
||||
if (buf == NULL)
|
||||
return -ENOMEM;
|
||||
|
||||
memcpy(buf, extra, wrqu->data.length);
|
||||
} else
|
||||
buf = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user