Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281175
b: refs/heads/master
c: 428c1fb
h: refs/heads/master
i:
  281173: 3cc5c63
  281171: 78db70a
  281167: b2636cc
v: v3
  • Loading branch information
Marcos Paulo de Souza authored and Greg Kroah-Hartman committed Nov 30, 2011
1 parent 306f967 commit e4ca49c
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 48 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: 95fa0405c5991726e06c08ffcd8ff872f7fb4f2d
refs/heads/master: 428c1fb50ec57587eb9d7e48439059cbfeb9330a
6 changes: 1 addition & 5 deletions trunk/drivers/staging/vt6655/device_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3153,11 +3153,7 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
break;

case SIOCGIWNWID: //0x8b03 support
#ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
rc = iwctl_giwnwid(dev, NULL, &(wrq->u.nwid), NULL);
#else
rc = -EOPNOTSUPP;
#endif
rc = -EOPNOTSUPP;
break;

// Set frequency/channel
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/staging/vt6655/iwctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,18 +151,6 @@ int iwctl_giwname(struct net_device *dev,
return 0;
}

int iwctl_giwnwid(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra)
{
//wrq->value = 0x100;
//wrq->disabled = 0;
//wrq->fixed = 1;
//return 0;
return -EOPNOTSUPP;
}

/*
* Wireless Handler : set scan
*/
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/staging/vt6655/iwctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ int iwctl_giwname(struct net_device *dev,
char *wrq,
char *extra);

int iwctl_giwnwid(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra) ;

int iwctl_giwsens(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
Expand Down
12 changes: 0 additions & 12 deletions trunk/drivers/staging/vt6656/iwctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,6 @@ int iwctl_giwname(struct net_device *dev,
return 0;
}

int iwctl_giwnwid(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra)
{
//wrq->value = 0x100;
//wrq->disabled = 0;
//wrq->fixed = 1;
//return 0;
return -EOPNOTSUPP;
}
/*
* Wireless Handler : set scan
*/
Expand Down Expand Up @@ -1939,7 +1928,6 @@ static const iw_handler iwctl_handler[] =
(iw_handler) iwctl_commit, // SIOCSIWCOMMIT
(iw_handler) iwctl_giwname, // SIOCGIWNAME
(iw_handler) NULL, // SIOCSIWNWID
(iw_handler) NULL, // SIOCGIWNWID
(iw_handler) iwctl_siwfreq, // SIOCSIWFREQ
(iw_handler) iwctl_giwfreq, // SIOCGIWFREQ
(iw_handler) iwctl_siwmode, // SIOCSIWMODE
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/staging/vt6656/iwctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ int iwctl_giwname(struct net_device *dev,
char *wrq,
char *extra);

int iwctl_giwnwid(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra) ;

int iwctl_giwsens(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
Expand Down
9 changes: 1 addition & 8 deletions trunk/drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1618,15 +1618,8 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
break;

case SIOCSIWNWID:
rc = -EOPNOTSUPP;
break;

case SIOCGIWNWID: //0x8b03 support
#ifdef WPA_SUPPLICANT_DRIVER_WEXT_SUPPORT
rc = iwctl_giwnwid(dev, NULL, &(wrq->u.nwid), NULL);
#else
rc = -EOPNOTSUPP;
#endif
rc = -EOPNOTSUPP;
break;

// Set frequency/channel
Expand Down

0 comments on commit e4ca49c

Please sign in to comment.