Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267605
b: refs/heads/master
c: 5ae7171
h: refs/heads/master
i:
  267603: 9b05447
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent 3e3d7d6 commit dd0ddda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 733e3ef0d364b7e6757a897e7f1862a70c89305a
refs/heads/master: 5ae717139a6defae9656f743dff8388aeb94df93
3 changes: 2 additions & 1 deletion trunk/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -2089,9 +2089,10 @@ static int wpa_supplicant_ioctl(struct net_device *dev, struct iw_point *p)
param = (struct ieee_param *)_malloc(p->length);
if (param == NULL)
return -ENOMEM;
if (copy_from_user(param, p->pointer, p->length))
if (copy_from_user(param, p->pointer, p->length)) {
kfree((u8 *)param);
return -EFAULT;
}
switch (param->cmd) {
case IEEE_CMD_SET_WPA_PARAM:
ret = wpa_set_param(dev, param->u.wpa_param.name,
Expand Down

0 comments on commit dd0ddda

Please sign in to comment.