ret = wilc1000_wlan_init(ndev, nic);
if (ret < 0) {
PRINT_ER("Failed to initialize wilc1000\n");
- WILC_WFI_DeInitHostInt(ndev);
+ wilc_deinit_host_int(ndev);
return ret;
}
return 0;
_err_:
- WILC_WFI_DeInitHostInt(ndev);
+ wilc_deinit_host_int(ndev);
wilc1000_wlan_deinit(g_linux_wlan);
return ret;
}
/* Stop the network interface queue */
netif_stop_queue(nic->wilc_netdev);
- WILC_WFI_DeInitHostInt(nic->wilc_netdev);
+ wilc_deinit_host_int(nic->wilc_netdev);
}
if (g_linux_wlan->open_ifcs == 0) {
struct wireless_dev *wilc_create_wiphy(struct net_device *net);
void wilc_free_wiphy(struct net_device *net);
int WILC_WFI_update_stats(struct wiphy *wiphy, u32 pktlen, u8 changed);
-int WILC_WFI_DeInitHostInt(struct net_device *net);
+int wilc_deinit_host_int(struct net_device *net);
int WILC_WFI_InitHostInt(struct net_device *net);
void WILC_WFI_monitor_rx(u8 *buff, u32 size);
int WILC_WFI_deinit_mon_interface(void);