Browse Source

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
Mahesh Kumar Kalikot Veetil 7 years ago
parent
commit
7df92bada9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/ptt/src/wlan_ptt_sock_svc.c

+ 1 - 1
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;