From 09b574f3d43b6b3bbcccad7c290b6da20e541d0c Mon Sep 17 00:00:00 2001 From: Kapil Gupta Date: Tue, 18 Jul 2017 17:14:35 +0530 Subject: [PATCH] qcacmn: Correct OEM signature string for POS utils Add changes to correct string names as par guidelines. Change-Id: If6f58d7e122b5f3f3c46f68738a16b98c8122563 CRs-Fixed: 2078300 --- umac/wifi_pos/src/wifi_pos_main.c | 2 +- umac/wifi_pos/src/wifi_pos_utils_i.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/umac/wifi_pos/src/wifi_pos_main.c b/umac/wifi_pos/src/wifi_pos_main.c index 0566d3dced..541fac7cb9 100644 --- a/umac/wifi_pos/src/wifi_pos_main.c +++ b/umac/wifi_pos/src/wifi_pos_main.c @@ -278,7 +278,7 @@ static int wifi_pos_process_app_reg_req(struct wlan_objmgr_psoc *psoc, req->pid, req->buf_len); sign_str = (char *)req->buf; - /* Registration request is only allowed for Qualcomm Application */ + /* Registration request is only allowed for QTI Application */ if ((OEM_APP_SIGNATURE_LEN != req->buf_len) || (strncmp(sign_str, OEM_APP_SIGNATURE_STR, OEM_APP_SIGNATURE_LEN))) { diff --git a/umac/wifi_pos/src/wifi_pos_utils_i.h b/umac/wifi_pos/src/wifi_pos_utils_i.h index 4ee74adb90..b49c83d21c 100644 --- a/umac/wifi_pos/src/wifi_pos_utils_i.h +++ b/umac/wifi_pos/src/wifi_pos_utils_i.h @@ -60,10 +60,10 @@ struct wifi_pos_req_msg; wifi_pos_logfl(QDF_TRACE_LEVEL_DEBUG, format, ## args) #define OEM_APP_SIGNATURE_LEN 16 -#define OEM_APP_SIGNATURE_STR "QUALCOMM-OEM-APP" +#define OEM_APP_SIGNATURE_STR "QTI-OEM-APP" #define OEM_TARGET_SIGNATURE_LEN 8 -#define OEM_TARGET_SIGNATURE "QUALCOMM" +#define OEM_TARGET_SIGNATURE "QTI" #define OEM_CAP_MAX_NUM_CHANNELS 128 @@ -139,7 +139,7 @@ struct qdf_packed wifi_pos_driver_version { /** * struct wifi_pos_driver_caps - OEM Data Capabilities - * @oem_target_signature: Signature of chipset vendor, e.g. QUALCOMM + * @oem_target_signature: Signature of chipset vendor, e.g. QTI * @oem_target_type: Chip type * @oem_fw_version: Firmware version * @driver_version: Host software version