Skip to content

Commit f8174a6

Browse files
committed
Wifi: don't use libcJSON as wlanapi's dll name
1 parent 53265f6 commit f8174a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/detection/wifi/wifi_windows.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ static void convertIfStateToString(WLAN_INTERFACE_STATE state, FFstrbuf* result)
4040
}
4141
}
4242

43-
const char* ffDetectWifi(const FFinstance* instance, FFlist* result)
43+
const char* ffDetectWifi(FF_UNUSED_PARAM const FFinstance* instance, FFlist* result)
4444
{
45-
FF_LIBRARY_LOAD(wlanapi, &instance->config.libcJSON, "dlopen wlanapi"FF_LIBRARY_EXTENSION" failed", "wlanapi"FF_LIBRARY_EXTENSION, 1)
45+
FF_LIBRARY_LOAD(wlanapi, NULL, "dlopen wlanapi"FF_LIBRARY_EXTENSION" failed", "wlanapi"FF_LIBRARY_EXTENSION, 1)
4646
FF_LIBRARY_LOAD_SYMBOL_MESSAGE(wlanapi, WlanOpenHandle)
4747
FF_LIBRARY_LOAD_SYMBOL_MESSAGE(wlanapi, WlanEnumInterfaces)
4848
FF_LIBRARY_LOAD_SYMBOL_MESSAGE(wlanapi, WlanQueryInterface)

0 commit comments

Comments
 (0)