Skip to content

Commit 23dae48

Browse files
Refactor WiFi band mask methods for consistency in naming
1 parent 8e9cfbf commit 23dae48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/platform/silabs/NetworkCommissioningWiFiDriver.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ chip::BitFlags<WiFiSecurity> SlWiFiDriver::ConvertSecuritytype(wfx_sec_t securit
260260

261261
uint32_t SlWiFiDriver::GetSupportedWiFiBandsMask() const
262262
{
263-
return WifiInterface::GetInstance()._GetSupportedWiFiBandsMask();
263+
return WifiInterface::GetInstance().GetSupportedWiFiBandsMask();
264264
}
265265

266266
bool SlWiFiDriver::StartScanWiFiNetworks(ByteSpan ssid)

src/platform/silabs/wifi/WifiInterface.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ class WifiInterface
420420
*
421421
* @return a bitmask of supported Wi-Fi bands where each bit is associated with a WiFiBandEnum value.
422422
*/
423-
virtual uint32_t _GetSupportedWiFiBandsMask() const
423+
virtual uint32_t GetSupportedWiFiBandsMask() const
424424
{
425425
// Default to 2.4G support only
426426
return static_cast<uint32_t>(1UL << chip::to_underlying(WiFiBandEnum::k2g4));

0 commit comments

Comments
 (0)