Skip to content

WIFI_SCAN_PARAMS_DEFAULT_CONFIG macro should also set channel bitmap (IDFGH-13687) #14505

@TD-er

Description

@TD-er

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

See the define of this macro:
https://github.com/espressif/esp-idf/blob/6673376297b921d438790d195014b860eaf8bb17/components/esp_wifi/include/esp_wifi_types_generic.h#L154C9-L159

This macro does not clear the channel_bitmap members, which can cause issues as those will then contain random data.
See related PR in arduino-esp32: espressif/arduino-esp32#10282 and related issue: espressif/arduino-esp32#10281

Metadata

Metadata

Assignees

Labels

Resolution: NAIssue resolution is unavailableStatus: DoneIssue is done internally

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions