Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337119
b: refs/heads/master
c: 605fba8
h: refs/heads/master
i:
  337117: 1a3096f
  337115: b20df3e
  337111: 6871d3b
  337103: 1d6d4ce
  337087: 779650b
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 69d6cf8 commit 069ba23
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: a5e0f69c983a142daa95b70f709a3dabf76cb55f
refs/heads/master: 605fba82a2d6f8e19b7530805b792487562429a7
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 @@ -2110,10 +2110,10 @@ static int r871x_wps_start(struct net_device *dev,
struct iw_point *pdata = &wrqu->data;
u32 u32wps_start = 0;

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

0 comments on commit 069ba23

Please sign in to comment.