summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656
diff options
context:
space:
mode:
authormiaofng <miaofng@126.com>2009-07-15 10:33:35 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:42 -0700
commitdda7940539b7f2122776ec22737d6f6c24d8724f (patch)
tree2ea53c349570964663abaa343d59655db5bd5af0 /drivers/staging/vt6656
parentc0593dd9343298a3a9d8e25bd42173765bbe9919 (diff)
downloadlinux-dda7940539b7f2122776ec22737d6f6c24d8724f.tar.bz2
Staging: vt6656: disable wpa related function due to memory failure of this part of codes
Signed-off-by: miaofng <miaofng@126.com> Cc: Forest Bond <forest@alittletooquiet.net> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r--drivers/staging/vt6656/main_usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c
index 8a6814d667d4..7e40ceb7f579 100644
--- a/drivers/staging/vt6656/main_usb.c
+++ b/drivers/staging/vt6656/main_usb.c
@@ -879,13 +879,14 @@ vntwusb_found1(struct usb_interface *intf, const struct usb_device_id *id)
//2008-07-21-01<Add>by MikeLiu
//register wpadev
+#if 0
if(wpa_set_wpadev(pDevice, 1)!=0) {
printk("Fail to Register WPADEV?\n");
unregister_netdev(pDevice->dev);
free_netdev(netdev);
kfree(pDevice);
}
-
+#endif
usb_device_reset(pDevice);
#ifdef SndEvt_ToAPI