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>
This commit is contained in:
Marcos Paulo de Souza 2011-12-28 21:18:31 +00:00 • committed by Greg Kroah-Hartman
commit 2fdde902ca
3 changed files with 11 additions and 22 deletions