summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/wpactl.c
diff options
context:
space:
mode:
authorMalcolm Priestley2012-12-10 23:14:36 +0100
committerGreg Kroah-Hartman2013-01-07 20:13:33 +0100
commitfe5d00ebd348621ce34bb4982271f7b1c45e6700 (patch)
tree5fecefbdb22be0caa03d8e5a1453555ad1202123 /drivers/staging/vt6656/wpactl.c
parentstaging: vt6656: iwctl/key/rf use new structures. (diff)
downloadkernel-qcow2-linux-fe5d00ebd348621ce34bb4982271f7b1c45e6700.tar.gz
kernel-qcow2-linux-fe5d00ebd348621ce34bb4982271f7b1c45e6700.tar.xz
kernel-qcow2-linux-fe5d00ebd348621ce34bb4982271f7b1c45e6700.zip
staging: vt6656: channel/control/firmware/int/usbpipe to new structures
This patch cleans up function declarations, definitions and local variables where appropriate replacing types defined in "ttype.h" with linux/types.h. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/wpactl.c')
-rw-r--r--drivers/staging/vt6656/wpactl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6656/wpactl.c b/drivers/staging/vt6656/wpactl.c
index 3afbb61cc722..569d1a726285 100644
--- a/drivers/staging/vt6656/wpactl.c
+++ b/drivers/staging/vt6656/wpactl.c
@@ -67,10 +67,10 @@ static int msglevel = MSG_LEVEL_INFO;
* Return Value:
*
*/
-int wpa_set_keys(PSDevice pDevice, void *ctx)
+int wpa_set_keys(struct vnt_private *pDevice, void *ctx)
{
struct viawget_wpa_param *param = ctx;
- PSMgmtObject pMgmt = &pDevice->sMgmtObj;
+ struct vnt_manager *pMgmt = &pDevice->vnt_mgmt;
DWORD dwKeyIndex = 0;
BYTE abyKey[MAX_KEY_LEN];
BYTE abySeq[MAX_KEY_LEN];