void iwinfo_finish(void) { #ifdef USE_WL wl_close(); #endif #ifdef USE_MADWIFI madwifi_close(); #endif #ifdef USE_NL80211 nl80211_close(); #endif wext_close(); iwinfo_close(); }
/* Shutdown backends */ static int iwinfo_L__gc(lua_State *L) { #ifdef USE_WL wl_close(); #endif #ifdef USE_MADWIFI madwifi_close(); #endif #ifdef USE_NL80211 nl80211_close(); #endif wext_close(); iwinfo_close(); }