diff options
Diffstat (limited to 'cyw43/src/control.rs')
| -rw-r--r-- | cyw43/src/control.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cyw43/src/control.rs b/cyw43/src/control.rs index e4dc0804f..fd0d4d532 100644 --- a/cyw43/src/control.rs +++ b/cyw43/src/control.rs | |||
| @@ -470,6 +470,8 @@ impl<'a> Control<'a> { | |||
| 470 | pfi.passphrase[..passphrase.as_bytes().len()].copy_from_slice(passphrase.as_bytes()); | 470 | pfi.passphrase[..passphrase.as_bytes().len()].copy_from_slice(passphrase.as_bytes()); |
| 471 | self.ioctl(IoctlType::Set, Ioctl::SetWsecPmk, 0, &mut pfi.to_bytes()) | 471 | self.ioctl(IoctlType::Set, Ioctl::SetWsecPmk, 0, &mut pfi.to_bytes()) |
| 472 | .await; | 472 | .await; |
| 473 | } else { | ||
| 474 | self.ioctl_set_u32(Ioctl::SetAuth, 0, 0).await; | ||
| 473 | } | 475 | } |
| 474 | 476 | ||
| 475 | // Change mutlicast rate from 1 Mbps to 11 Mbps | 477 | // Change mutlicast rate from 1 Mbps to 11 Mbps |
