summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/iwctl.c
diff options
context:
space:
mode:
authorMalcolm Priestley2012-11-24 15:56:09 +0100
committerGreg Kroah-Hartman2012-11-27 01:24:16 +0100
commitc9f3bc59c075f7fe565f38d4ff91faea7661bad9 (patch)
treed12e889bceab48696ce8a5ebdbdcef8740bca556 /drivers/staging/vt6656/iwctl.c
parentstaging: vt6656: send SIOCGIWSCAN at end of all scanning events. (diff)
downloadkernel-qcow2-linux-c9f3bc59c075f7fe565f38d4ff91faea7661bad9.tar.gz
kernel-qcow2-linux-c9f3bc59c075f7fe565f38d4ff91faea7661bad9.tar.xz
kernel-qcow2-linux-c9f3bc59c075f7fe565f38d4ff91faea7661bad9.zip
staging: vt6656: wpa_set_keys remove fcpfkernel
Only TRUE is ever called, remove FALSE code. Since copy_from_user has been removed, the unlock..lock spin locks have been removed. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/iwctl.c')
-rw-r--r--drivers/staging/vt6656/iwctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/iwctl.c b/drivers/staging/vt6656/iwctl.c
index 2cd8b0a6b3a1..52fce6902508 100644
--- a/drivers/staging/vt6656/iwctl.c
+++ b/drivers/staging/vt6656/iwctl.c
@@ -1724,7 +1724,7 @@ int iwctl_siwencodeext(struct net_device *dev, struct iw_request_info *info,
}
/*******/
spin_lock_irq(&pDevice->lock);
- ret = wpa_set_keys(pDevice, param, TRUE);
+ ret = wpa_set_keys(pDevice, param);
spin_unlock_irq(&pDevice->lock);
error: