Skip to content

Commit

Permalink
Merge pull request #177 from JAndrassy/wific3_sta_bssid_fix
Browse files Browse the repository at this point in the history
WiFiC3 - STA BSSID getter fix
  • Loading branch information
aentinger authored Dec 13, 2023
2 parents 2ba1f44 + b805a35 commit 795a81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/lwIpWrapper/src/CNetIf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ uint8_t* CLwipIf::getBSSID(NetIfType_t type, uint8_t* bssid)
{
/* -------------------------------------------------------------------------- */
if (type == NI_WIFI_STATION) {
CNetUtilities::macStr2macArray(bssid, (const char*)access_point_cfg.out_mac);
CNetUtilities::macStr2macArray(bssid, (const char*)access_point_cfg.bssid);
return bssid;
} else if (type == NI_WIFI_SOFTAP) {
CNetUtilities::macStr2macArray(bssid, (const char*)soft_ap_cfg.out_mac);
Expand Down

0 comments on commit 795a81d

Please sign in to comment.