Merge remote-tracking branch 'upstream/inline-wifi-ap-channel-accessors' into integration

This commit is contained in:
J. Nick Koston
2026-03-21 20:32:12 -10:00
2 changed files with 3 additions and 6 deletions
@@ -871,9 +871,6 @@ void WiFiComponent::loop() {
WiFiComponent::WiFiComponent() { global_wifi_component = this; }
bool WiFiComponent::has_ap() const { return this->has_ap_; }
bool WiFiComponent::is_ap_active() const { return this->ap_started_; }
bool WiFiComponent::has_sta() const { return !this->sta_.empty(); }
#ifdef USE_WIFI_11KV_SUPPORT
void WiFiComponent::set_btm(bool btm) { this->btm_ = btm; }
void WiFiComponent::set_rrm(bool rrm) { this->rrm_ = rrm; }
+3 -3
View File
@@ -470,9 +470,9 @@ class WiFiComponent final : public Component {
/// Reconnect WiFi if required.
void loop() override;
bool has_sta() const;
bool has_ap() const;
bool is_ap_active() const;
bool has_sta() const { return !this->sta_.empty(); }
bool has_ap() const { return this->has_ap_; }
bool is_ap_active() const { return this->ap_started_; }
#ifdef USE_WIFI_11KV_SUPPORT
void set_btm(bool btm);