aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cyw43/CHANGELOG.md2
-rw-r--r--cyw43/src/control.rs5
2 files changed, 5 insertions, 2 deletions
diff --git a/cyw43/CHANGELOG.md b/cyw43/CHANGELOG.md
index 9fe341357..4f0dc896b 100644
--- a/cyw43/CHANGELOG.md
+++ b/cyw43/CHANGELOG.md
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8<!-- next-header --> 8<!-- next-header -->
9## Unreleased - ReleaseDate 9## Unreleased - ReleaseDate
10 10
11- Reset WPA security before creating secure AP
12
11## 0.6.0 - 2025-11-27 13## 0.6.0 - 2025-11-27
12 14
13- Updated documentation for Control::join() #4678 15- Updated documentation for Control::join() #4678
diff --git a/cyw43/src/control.rs b/cyw43/src/control.rs
index 49e3faee4..219198d1f 100644
--- a/cyw43/src/control.rs
+++ b/cyw43/src/control.rs
@@ -436,6 +436,9 @@ impl<'a> Control<'a> {
436 // Set wifi up again 436 // Set wifi up again
437 self.up().await; 437 self.up().await;
438 438
439 // Disable authentication
440 self.ioctl_set_u32(Ioctl::SetAuth, 0, AUTH_OPEN).await;
441
439 // Turn on AP mode 442 // Turn on AP mode
440 self.ioctl_set_u32(Ioctl::SetAp, 0, 1).await; 443 self.ioctl_set_u32(Ioctl::SetAp, 0, 1).await;
441 444
@@ -470,8 +473,6 @@ impl<'a> Control<'a> {
470 pfi.passphrase[..passphrase.as_bytes().len()].copy_from_slice(passphrase.as_bytes()); 473 pfi.passphrase[..passphrase.as_bytes().len()].copy_from_slice(passphrase.as_bytes());
471 self.ioctl(IoctlType::Set, Ioctl::SetWsecPmk, 0, &mut pfi.to_bytes()) 474 self.ioctl(IoctlType::Set, Ioctl::SetWsecPmk, 0, &mut pfi.to_bytes())
472 .await; 475 .await;
473 } else {
474 self.ioctl_set_u32(Ioctl::SetAuth, 0, 0).await;
475 } 476 }
476 477
477 // Change mutlicast rate from 1 Mbps to 11 Mbps 478 // Change mutlicast rate from 1 Mbps to 11 Mbps