mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 00:02:28 +00:00
Make join_wpa2_passphrase_info private
This commit is contained in:
parent
7432c4069b
commit
3db771f4b6
@ -229,11 +229,7 @@ impl<'a> Control<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Join a protected network with the provided ssid and [`PassphraseInfo`].
|
/// Join a protected network with the provided ssid and [`PassphraseInfo`].
|
||||||
pub async fn join_wpa2_passphrase_info(
|
async fn join_wpa2_passphrase_info(&mut self, ssid: &str, passphrase_info: &PassphraseInfo) -> Result<(), Error> {
|
||||||
&mut self,
|
|
||||||
ssid: &str,
|
|
||||||
passphrase_info: &PassphraseInfo,
|
|
||||||
) -> Result<(), Error> {
|
|
||||||
self.set_iovar_u32("ampdu_ba_wsize", 8).await;
|
self.set_iovar_u32("ampdu_ba_wsize", 8).await;
|
||||||
|
|
||||||
self.ioctl_set_u32(134, 0, 4).await; // wsec = wpa2
|
self.ioctl_set_u32(134, 0, 4).await; // wsec = wpa2
|
||||||
|
Loading…
Reference in New Issue
Block a user