Staging: vt6655: fix build when !CONFIG_WIRELESS_EXT
[deliverable/linux.git] / drivers / staging / vt6655 / device_main.c
index f43ca416e4a88c4f989a31495181f4a6d155227b..0a11d7fd8aa2dd6087871cb619138f61e0f7e017 100644 (file)
@@ -1146,14 +1146,9 @@ device_found1(struct pci_dev *pcid, const struct pci_device_id *ent)
     dev->irq                = pcid->irq;
     dev->netdev_ops         = &device_netdev_ops;
 
-#ifdef WIRELESS_EXT
-//Einsn Modify for ubuntu-7.04
-//     dev->wireless_handlers->get_wireless_stats = iwctl_get_wireless_stats;
-#if WIRELESS_EXT > 12
+#ifdef CONFIG_WIRELESS_EXT
        dev->wireless_handlers = (struct iw_handler_def *)&iwctl_handler_def;
-//     netdev->wireless_handlers = NULL;
-#endif /* WIRELESS_EXT > 12 */
-#endif /* WIRELESS_EXT */
+#endif
 
     rc = register_netdev(dev);
     if (rc)
This page took 0.029676 seconds and 5 git commands to generate.