Merge 48b8ac4b24 on remote branch

Change-Id: I643234e61fdad021ac6462dd96469f0a4326980f
This commit is contained in:
Linux Build Service Account
2019-02-18 17:12:02 -08:00
2 changed files with 3 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ static struct Command cmd_list[eCMD_LAST] = {
{ "accept_mac_file", NULL },
{ "deny_mac_file", NULL },
{ "owe_transition_ifname", NULL },
{ "sae_require_mfp", NULL },
};
@@ -1918,6 +1919,7 @@ static esap_cmd_t qsap_get_cmd_num(s8 *cName)
for(i=0; i<eCMD_LAST; i++) {
len = strlen(cmd_list[i].name);
if(!strncmp(cmd_list[i].name, cName, len)) {
if((cName[len] == '=') || (cName[len] == '\0'))
return i;

View File

@@ -359,6 +359,7 @@ typedef enum esap_cmd {
eCMD_ACCEPT_MAC_FILE = 81,
eCMD_DENY_MAC_FILE = 82,
eCMD_OWE_TRANS_IFNAME = 83,
eCMD_SAE_REQUIRE_MPF = 84,
eCMD_LAST /** New command numbers should be added above this */
} esap_cmd_t;