Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236303
b: refs/heads/master
c: cd92274
h: refs/heads/master
i:
  236301: ed22154
  236299: 7e2554f
  236295: 64ab605
  236287: f19aec5
v: v3
  • Loading branch information
Xiaochen Wang authored and Greg Kroah-Hartman committed Mar 7, 2011
1 parent afd93ae commit 008f010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9603ff50b5d56e6ee64b10116ff640320732f9c8
refs/heads/master: cd92274093876c57fa4de0f219a552911ef9adc6
4 changes: 2 additions & 2 deletions trunk/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1970,9 +1970,9 @@ static int r871x_wps_start(struct net_device *dev,
struct _adapter *padapter = (struct _adapter *)_netdev_priv(dev);
struct iw_point *pdata = &wrqu->data;
u32 u32wps_start = 0;
unsigned int uintRet = 0;

uintRet = copy_from_user((void *)&u32wps_start, pdata->pointer, 4);
if (copy_from_user((void *)&u32wps_start, pdata->pointer, 4))
return -EFAULT;
if ((padapter->bDriverStopped) || (pdata == NULL))
return -EINVAL;
if (u32wps_start == 0)
Expand Down

0 comments on commit 008f010

Please sign in to comment.