staging: vt6656: iwctl.c: Rewrite siwrts funciton
authorMarcos Paulo de Souza <marcos.mage@gmail.com>
Wed, 28 Dec 2011 21:18:31 +0000 (21:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:18:27 +0000 (09:18 -0800)
commit2fdde902ca4b19d051c5fa15f81dd6d900551db8
treeb68546b33a3466b9cbde9afd1125ff239450710a
parent739ea07640f4dd3cc440b836ad6a88388c2dcf28
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>
drivers/staging/vt6656/iwctl.c
drivers/staging/vt6656/iwctl.h
drivers/staging/vt6656/main_usb.c