switchbrew / libnx

Library for Switch Homebrew
https://switchbrew.github.io/libnx/
ISC License
1.27k stars 174 forks source link

nifm: Update NifmWirelessSettingData to add Passphrase length #594

Closed masagrator closed 2 years ago

masagrator commented 2 years ago

I don't know where NifmSfNetworkProfileData is even used, so I can't check if this miss also exists in NifmSfWirelessSettingData.

yellows8 commented 2 years ago

That's used in nifm.c.

It was already correct, passphrase[0] is the length: https://switchbrew.org/wiki/Network_Interface_services (guess this should be sync'd with wiki eventually)