Skip to content

Commit

Permalink
Improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Jan 24, 2024
1 parent 7eac840 commit a06cf49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/platform/Linux/NetworkCommissioningDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ class LinuxWiFiDriver final : public WiFiDriver

uint32_t GetSupportedWiFiBandsMask() const override
{
// Default to 2.4G support.
uint32_t supportedBands = static_cast<uint32_t>(1UL << chip::to_underlying(WiFiBandEnum::k2g4));
if (mIs5gSupported)
{
Expand All @@ -117,7 +116,7 @@ class LinuxWiFiDriver final : public WiFiDriver

WiFiNetwork mSavedNetwork;
WiFiNetwork mStagingNetwork;
// Whether 5GHz band is supported.
// Whether 5GHz band is supported, as claimed by callers (`Set5gSupport()`) rather than syscalls.
bool mIs5gSupported = false;
};
#endif // CHIP_DEVICE_CONFIG_ENABLE_WPA
Expand Down

0 comments on commit a06cf49

Please sign in to comment.