Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288985
b: refs/heads/master
c: f9b9f93
h: refs/heads/master
i:
  288983: 57c9221
v: v3
  • Loading branch information
Marcos Paulo de Souza authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent 09c53a9 commit 724f08a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 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: 5d11b1737d52b6f9428c2daea72457cd477e0122
refs/heads/master: f9b9f93426139e7525306b94df8f82989c3f6138
5 changes: 1 addition & 4 deletions trunk/drivers/staging/vt6656/iwctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ void iwctl_giwmode(struct net_device *dev,
* Wireless Handler : get capability range
*/

int iwctl_giwrange(struct net_device *dev,
void iwctl_giwrange(struct net_device *dev,
struct iw_request_info *info,
struct iw_point *wrq,
char *extra)
Expand Down Expand Up @@ -600,9 +600,6 @@ int iwctl_giwrange(struct net_device *dev,
range->avg_qual.level = 176; // -80 dBm
range->avg_qual.noise = 0;
}


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 @@ -46,7 +46,7 @@ int iwctl_siwap(struct net_device *dev,
struct sockaddr *wrq,
char *extra);

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

rc = iwctl_giwrange(dev, NULL, &(wrq->u.data), (char *) &range);
iwctl_giwrange(dev, NULL, &(wrq->u.data), (char *) &range);
if (copy_to_user(wrq->u.data.pointer, &range, sizeof(struct iw_range)))
rc = -EFAULT;
}
Expand Down

0 comments on commit 724f08a

Please sign in to comment.