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>
This commit is contained in:
miaofng 2009-07-15 10:33:35 -04:00 committed by Greg Kroah-Hartman
parent c0593dd934
commit dda7940539
1 changed files with 2 additions and 1 deletions

View File

@ -879,13 +879,14 @@ vntwusb_found1(struct usb_interface *intf, const struct usb_device_id *id)
//2008-07-21-01<Add>by MikeLiu //2008-07-21-01<Add>by MikeLiu
//register wpadev //register wpadev
#if 0
if(wpa_set_wpadev(pDevice, 1)!=0) { if(wpa_set_wpadev(pDevice, 1)!=0) {
printk("Fail to Register WPADEV?\n"); printk("Fail to Register WPADEV?\n");
unregister_netdev(pDevice->dev); unregister_netdev(pDevice->dev);
free_netdev(netdev); free_netdev(netdev);
kfree(pDevice); kfree(pDevice);
} }
#endif
usb_device_reset(pDevice); usb_device_reset(pDevice);
#ifdef SndEvt_ToAPI #ifdef SndEvt_ToAPI