summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMahesh Kumar Kalikot Veetil <mkalikot@codeaurora.org>2017-10-13 12:30:07 -0700
committersnandini <snandini@codeaurora.org>2017-10-14 19:40:02 -0700
commit7df92bada920b850224095ad998eff19f2d8116e (patch)
tree528fd2c3efb24effb18db6bf19b92e7554564efc /utils
parent1c73aa673bf58c7b6818ff76f76e1a298bc7e434 (diff)
downloadqca-wfi-host-cmn-7df92bada920b850224095ad998eff19f2d8116e.tar.gz
qcacmn: Fix compilation issue in wlan_ptt_sock_svc.c
Fix a compilation issue introduced by the change "Change-Id: I3bb7170c971f66178efe5cda837337a2e362f822". Change-Id: Icfb204a5c6b0f5e471583df1c7b84441a6ee546a CRs-Fixed: 2126606
Diffstat (limited to 'utils')
-rw-r--r--utils/ptt/src/wlan_ptt_sock_svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ptt/src/wlan_ptt_sock_svc.c b/utils/ptt/src/wlan_ptt_sock_svc.c
index b693bb33d..a3ba114fc 100644
--- a/utils/ptt/src/wlan_ptt_sock_svc.c
+++ b/utils/ptt/src/wlan_ptt_sock_svc.c
@@ -288,7 +288,7 @@ static void ptt_cmd_handler(const void *data, int data_len, void *ctx, int pid)
return;
}
- if (nla_len(tb[CLD80211_ATTR_DATA]) < sizeof(ptt_app_reg_req)) {
+ if (nla_len(tb[CLD80211_ATTR_DATA]) < sizeof(struct sptt_app_reg_req)) {
PTT_TRACE(QDF_TRACE_LEVEL_ERROR, "%s:attr length check fails\n",
__func__);
return;