diff options
Diffstat (limited to 'cyw43')
| -rw-r--r-- | cyw43/src/control.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cyw43/src/control.rs b/cyw43/src/control.rs index 50ef34367..cd890c982 100644 --- a/cyw43/src/control.rs +++ b/cyw43/src/control.rs | |||
| @@ -229,11 +229,7 @@ impl<'a> Control<'a> { | |||
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | /// Join a protected network with the provided ssid and [`PassphraseInfo`]. | 231 | /// Join a protected network with the provided ssid and [`PassphraseInfo`]. |
| 232 | pub async fn join_wpa2_passphrase_info( | 232 | async fn join_wpa2_passphrase_info(&mut self, ssid: &str, passphrase_info: &PassphraseInfo) -> Result<(), Error> { |
| 233 | &mut self, | ||
| 234 | ssid: &str, | ||
| 235 | passphrase_info: &PassphraseInfo, | ||
| 236 | ) -> Result<(), Error> { | ||
| 237 | self.set_iovar_u32("ampdu_ba_wsize", 8).await; | 233 | self.set_iovar_u32("ampdu_ba_wsize", 8).await; |
| 238 | 234 | ||
| 239 | self.ioctl_set_u32(134, 0, 4).await; // wsec = wpa2 | 235 | self.ioctl_set_u32(134, 0, 4).await; // wsec = wpa2 |
