Skip to content

Commit bc16787

Browse files
Fix WiFi band enum reference in GetSupportedWiFiBandsMask implementation
1 parent 23dae48 commit bc16787

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/platform/silabs/wifi/WifiInterface.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ class WifiInterface
412412
*/
413413
virtual void CancelScanNetworks() = 0;
414414

415-
using WiFiBandEnum = app::Clusters::NetworkCommissioning::WiFiBandEnum;
416415
/**
417416
* @brief Provide all the frequency bands supported by the Wi-Fi interface.
418417
*
@@ -423,7 +422,7 @@ class WifiInterface
423422
virtual uint32_t GetSupportedWiFiBandsMask() const
424423
{
425424
// Default to 2.4G support only
426-
return static_cast<uint32_t>(1UL << chip::to_underlying(WiFiBandEnum::k2g4));
425+
return static_cast<uint32_t>(1UL << chip::to_underlying(app::Clusters::NetworkCommissioning::WiFiBandEnum::k2g4));
427426
}
428427

429428
protected:

0 commit comments

Comments
 (0)