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:
parent
c0593dd934
commit
dda7940539
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue