wpa_supplicant/hidl/sprd_1.2/sta_network.cpp
/**
 * Helper function to reset the fast transition bits in the key management
 * bitmask.
 */
Helper function to reset the fast transition bits in the key management
bitmask.
Helper function to reset the fast transition bits in the key management bitmask .
void StaNetwork::resetFastTransitionKeyMgmt(uint32_t &key_mgmt_mask)
{
	if (key_mgmt_mask & WPA_KEY_MGMT_SAE) {
		key_mgmt_mask &= ~WPA_KEY_MGMT_FT_SAE;
	}
	if (key_mgmt_mask & WPA_KEY_MGMT_PSK) {
		key_mgmt_mask &= ~WPA_KEY_MGMT_FT_PSK;
	}
	if (key_mgmt_mask & WPA_KEY_MGMT_IEEE8021X) {
		key_mgmt_mask &= ~WPA_KEY_MGMT_FT_IEEE8021X;
	}
}
void StaNetwork :: resetFastTransitionKeyMgmt ( uint32_t & key_mgmt_mask ) { if ( key_mgmt_mask & WPA_KEY_MGMT_SAE ) { key_mgmt_mask &= ~ WPA_KEY_MGMT_FT_SAE ; } if ( key_mgmt_mask & WPA_KEY_MGMT_PSK ) { key_mgmt_mask &= ~ WPA_KEY_MGMT_FT_PSK ; } if ( key_mgmt_mask & WPA_KEY_MGMT_IEEE8021X ) { key_mgmt_mask &= ~ WPA_KEY_MGMT_FT_IEEE8021X ; } }
Helper function to reset the fast transition bits in the key management
 bitmask.
Helper function to reset the fast transition bits in the key management bitmask .