]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite80df3187c48f25a0892539f03c7b9e09a6e029e
treeb68546b33a3466b9cbde9afd1125ff239450710a
parent1aef46f29374f8aac908d1a917c85d80eaf3cae9
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