Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RCM6600W Flexible WPA2 Connections
{
int encryptionType = (sets.encryptionType == encr_ccmp) || (sets.encryptionType == encr_tkip)?
(encr_tkip | encr_ccmp) : sets.encryptionType;
ifconfig(
IF_WIFI0,
IFS_WIFI_ENCRYPTION, encryptionType,
IFS_WIFI_PAIRWISE_ENCRYPTION,
(sets.encryptionType == encr_ccmp) || (sets.encryptionType == encr_tkip)?
encryptionType : encr_none,
IFS_END
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment