Diffstat (limited to 'noncore/settings/networksettings') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp.cpp b/noncore/settings/networksettings/wlan/wlanimp.cpp index 488911b..44c721a 100644 --- a/noncore/settings/networksettings/wlan/wlanimp.cpp +++ b/noncore/settings/networksettings/wlan/wlanimp.cpp @@ -166,3 +166,3 @@ void WLANImp::changeAndSaveSettingFile(){ if(wepEnabled->isChecked()){ - stream << "\tKEY="; + stream << "\tKEY=\""; if(keyRadio0->isChecked()) stream << keyLineEdit0->text(); @@ -171,4 +171,7 @@ void WLANImp::changeAndSaveSettingFile(){ if(keyRadio3->isChecked()) stream << keyLineEdit3->text(); - if(authOpen->isChecked()) stream << " open"; - stream << "\n"; + if(authOpen->isChecked()) + stream << " open"; + else + stream << " restricted"; + stream << "\n\""; } |