Staging: vt6656: disable wpa related function due to memory failure of this part...
authormiaofng <miaofng@126.com>
Wed, 15 Jul 2009 14:33:35 +0000 (10:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:42 +0000 (12:01 -0700)
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>
drivers/staging/vt6656/main_usb.c

index 8a6814d667d45aa559fdae2176d80806787798e2..7e40ceb7f57988cb0b3015f87c76e454e6ec2ec2 100644 (file)
@@ -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