mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
add default response to get_value_security_mode to prevent SEGV
This commit is contained in:
parent
488066671c
commit
1f9c6b08d3
1 changed files with 2 additions and 0 deletions
|
|
@ -1468,6 +1468,8 @@ static void get_value_security_mode(char **value, char *encryption, char *cipher
|
|||
*value = "WPA-WPA2-Personal";
|
||||
else if (strcmp(encryption, "wpa-mixed") == 0 || strcmp(encryption, "mixed-wpa") == 0)
|
||||
*value = "WPA-WPA2-Enterprise";
|
||||
else
|
||||
*value = "unknown";
|
||||
}
|
||||
|
||||
static int get_access_point_security_modes(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue