Skip to content

WiFi.persistent(false) does not disable persistent WiFi config. #1393

Closed
@everslick

Description

@everslick

Currently wifi settings are written to the flash regardless of calling WiFi.persistent(false) or not.

In my opinion WiFiGeneric.cpp#L123 should be like:

if (_persistent) {
  esp_wifi_set_storage(WIFI_STORAGE_FLASH);
} else {
  esp_wifi_set_storage(WIFI_STORAGE_RAM);
}

Ref:
#548

Any thoughts on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions