Browse Source

qcacmn: Fix typo REAM_HASH_LEN and rename it to REALM_HASH_LEN

Fix typo REAM_HASH_LEN and rename it to REALM_HASH_LEN.

Change-Id: I788897dc0ee0b5f42ef1b00f6c1868b356df6273
CRs-Fixed: 2800792
gaurank kathpalia 4 years ago
parent
commit
72bd1e30c9

+ 2 - 2
umac/scan/core/src/wlan_scan_filter.c

@@ -575,13 +575,13 @@ static bool scm_is_fils_config_match(struct scan_filter *filter,
 
 	for (i = 1; i <= indication_ie->realm_identifiers_cnt; i++) {
 		if (!qdf_mem_cmp(filter->fils_scan_filter.fils_realm,
-				 data, REAM_HASH_LEN))
+				 data, REALM_HASH_LEN))
 			return true;
 		/* Max realm count reached */
 		if (indication_ie->realm_identifiers_cnt == i)
 			break;
 
-		data = data + REAM_HASH_LEN;
+		data = data + REALM_HASH_LEN;
 	}
 
 	return false;

+ 2 - 2
umac/scan/dispatcher/inc/wlan_scan_public_structs.h

@@ -453,7 +453,7 @@ struct scan_cache_entry {
 #define WLAN_SCAN_FILTER_NUM_SSID 5
 #define WLAN_SCAN_FILTER_NUM_BSSID 5
 
-#define REAM_HASH_LEN 2
+#define REALM_HASH_LEN 2
 #define CACHE_IDENTIFIER_LEN 2
 #define HESSID_LEN 6
 
@@ -466,7 +466,7 @@ struct scan_cache_entry {
  */
 struct fils_filter_info {
 	bool realm_check;
-	uint8_t fils_realm[REAM_HASH_LEN];
+	uint8_t fils_realm[REALM_HASH_LEN];
 	uint8_t security_type;
 };
 #endif