aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/iwctl.h
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.mage@gmail.com>2011-12-28 21:18:31 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 09:18:27 -0800
commit2fdde902ca4b19d051c5fa15f81dd6d900551db8 (patch)
treeb68546b33a3466b9cbde9afd1125ff239450710a /drivers/staging/vt6656/iwctl.h
parent739ea07640f4dd3cc440b836ad6a88388c2dcf28 (diff)
staging: vt6656: iwctl.c: Rewrite siwrts funciton
This function has the following issues: Parameter info and extra are not used Wrong error handling(the function not return -EINVAL when it happens) This patch simplifies this funtion, remove the not used parameters and fix the error handilng. Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/iwctl.h')
-rw-r--r--drivers/staging/vt6656/iwctl.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/iwctl.h b/drivers/staging/vt6656/iwctl.h
index bd38e9dc6f3..0c6e0496779 100644
--- a/drivers/staging/vt6656/iwctl.h
+++ b/drivers/staging/vt6656/iwctl.h
@@ -113,10 +113,7 @@ void iwctl_giwrate(struct net_device *dev,
char *extra);
int iwctl_siwrts(struct net_device *dev,
- struct iw_request_info *info,
- struct iw_param *wrq,
- char *extra);
-
+ struct iw_param *wrq);
int iwctl_giwrts(struct net_device *dev,
struct iw_request_info *info,