Skip to content

Commit c5259e0

Browse files
committed
Document that hs.wifi.interfaceDetails['bssid'] only appears if hs.location has been started. Closes #2944
1 parent f357c47 commit c5259e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/wifi/libwifi.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ static int wifi_current_ssid(lua_State* L) {
339339
/// * A table containing details about the interface. The table will contain the following keys:
340340
/// * active - The interface has its corresponding network service enabled.
341341
/// * activePHYMode - The current active PHY mode for the interface.
342-
/// * bssid - The current basic service set identifier (BSSID) for the interface.
342+
/// * bssid - The current basic service set identifier (BSSID) for the interface. Note that for this key to be available, hs.location needs to have been started
343343
/// * cachedScanResults - A table containing the networks currently in the scan cache for the WLAN interface. See [hs.wifi.backgroundScan](#backgroundScan) for details on the table format.
344344
/// * configuration - A table containing the current configuration for the given WLAN interface. This table will contain the following keys:
345345
/// * networkProfiles - A table containing an array of known networks for the interface. Entries in the array will each contain the following keys:

0 commit comments

Comments
 (0)