Skip to content

Commit 6a91cc4

Browse files
committed
detect wireless settings
1 parent a85a7c8 commit 6a91cc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mazda/wireless/wireless.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ void handleWifiInfoRequest(int fd, uint8_t *buffer, uint16_t length) {
6565
void handleWifiSecurityRequest(int fd, uint8_t *buffer, uint16_t length) {
6666
HU::WifiSecurityReponse response;
6767

68-
response.set_ssid(hostapd_config("MazdaCMU").c_str());
68+
response.set_ssid(hostapd_config("ssid").c_str());
6969
response.set_bssid(MAC_ADDRESS.c_str());
70-
response.set_key(hostapd_config("password").c_str());
70+
response.set_key(hostapd_config("wpa_passphrase").c_str());
7171
response.set_security_mode(HU::WifiSecurityReponse_SecurityMode_WPA2_PERSONAL);
7272
response.set_access_point_type(HU::WifiSecurityReponse_AccessPointType_DYNAMIC);
7373

0 commit comments

Comments
 (0)