Fixed previous commit

This commit is contained in:
wiire-a 2017-11-15 13:02:56 +01:00
parent e265a62b1d
commit c47b51baf0

View File

@ -610,6 +610,7 @@ usage_err:
} else { } else {
p_mode[0] = RT; p_mode[0] = RT;
if (wps->pke && (!(wps->e_nonce[0] & 0x80) && !(wps->e_nonce[4] & 0x80) && if (wps->pke && (!(wps->e_nonce[0] & 0x80) && !(wps->e_nonce[4] & 0x80) &&
!(wps->e_nonce[8] & 0x80) && !(wps->e_nonce[12] & 0x80))) {
p_mode[1] = RTL819x; p_mode[1] = RTL819x;
p_mode[2] = ECOS_SIMPLE; p_mode[2] = ECOS_SIMPLE;
p_mode[3] = NONE; p_mode[3] = NONE;