Skip to content

Commit

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

int iwctl_giwrate(struct net_device *dev,
void iwctl_giwrate(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra)
Expand Down Expand Up @@ -1004,9 +1003,6 @@ int iwctl_giwrate(struct net_device *dev,
if (pDevice->bFixRate == TRUE)
wrq->fixed = TRUE;
}


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 @@ -107,7 +107,7 @@ int iwctl_siwrate(struct net_device *dev,
struct iw_param *wrq,
char *extra);

int iwctl_giwrate(struct net_device *dev,
void iwctl_giwrate(struct net_device *dev,
struct iw_request_info *info,
struct iw_param *wrq,
char *extra);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1698,8 +1698,7 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {

// Get the current bit-rate
case SIOCGIWRATE:

rc = iwctl_giwrate(dev, NULL, &(wrq->u.bitrate), NULL);
iwctl_giwrate(dev, NULL, &(wrq->u.bitrate), NULL);
break;

// Set the desired RTS threshold
Expand Down

0 comments on commit bcf580e

Please sign in to comment.