Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288986
b: refs/heads/master
c: caa20de
h: refs/heads/master
v: v3
  • Loading branch information
Marcos Paulo de Souza authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent 724f08a commit 666a367
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 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: f9b9f93426139e7525306b94df8f82989c3f6138
refs/heads/master: caa20de81635b567ee0114a81ffbbffb3085d727
5 changes: 1 addition & 4 deletions trunk/drivers/staging/vt6656/iwctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,7 @@ int iwctl_siwessid(struct net_device *dev,
/*
* Wireless Handler : get essid
*/

int iwctl_giwessid(struct net_device *dev,
void iwctl_giwessid(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra)
Expand All @@ -879,8 +878,6 @@ int iwctl_giwessid(struct net_device *dev,

wrq->length = pItemSSID->len;
wrq->flags = 1; // active

return 0;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/vt6656/iwctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int iwctl_siwessid(struct net_device *dev,
struct iw_point *wrq,
char *extra);

int iwctl_giwessid(struct net_device *dev,
void iwctl_giwessid(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1657,8 +1657,8 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
{
char essid[IW_ESSID_MAX_SIZE+1];
if (wrq->u.essid.pointer) {
rc = iwctl_giwessid(dev, NULL,
&(wrq->u.essid), essid);
iwctl_giwessid(dev, NULL,
&(wrq->u.essid), essid);
if (copy_to_user(wrq->u.essid.pointer,
essid,
wrq->u.essid.length) )
Expand Down

0 comments on commit 666a367

Please sign in to comment.