Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b805a35

Browse files
committedNov 6, 2023
WiFiC3 - STA BSSID getter fix
1 parent 9a838ba commit b805a35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎libraries/lwIpWrapper/src/CNetIf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ uint8_t* CLwipIf::getBSSID(NetIfType_t type, uint8_t* bssid)
981981
{
982982
/* -------------------------------------------------------------------------- */
983983
if (type == NI_WIFI_STATION) {
984-
CNetUtilities::macStr2macArray(bssid, (const char*)access_point_cfg.out_mac);
984+
CNetUtilities::macStr2macArray(bssid, (const char*)access_point_cfg.bssid);
985985
return bssid;
986986
} else if (type == NI_WIFI_SOFTAP) {
987987
CNetUtilities::macStr2macArray(bssid, (const char*)soft_ap_cfg.out_mac);

0 commit comments

Comments
 (0)
Please sign in to comment.