[qca-nss-ipsecmgr] Include random pattern data for IPsec encap rule delete message

- CRs-Fixed: 799420

Change-Id: I2f8b99547e7493d4623b2e8ea0a80cc4d55ab276
Signed-off-by: Tushar Mathur <tushar@codeaurora.org>
diff --git a/nss_ipsecmgr.c b/nss_ipsecmgr.c
index 2120353..fcd50ee 100644
--- a/nss_ipsecmgr.c
+++ b/nss_ipsecmgr.c
@@ -1,6 +1,6 @@
 /*
  **************************************************************************
- * Copyright (c) 2014, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014,2015, The Linux Foundation. All rights reserved.
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
  * above copyright notice and this permission notice appear in all copies.
@@ -312,6 +312,7 @@
 {
 	struct nss_ipsecmgr_encap_del *encap = &rule->encap_del;
 	struct nss_ipsec_rule_sel *sel = &msg->sel;
+	struct nss_ipsec_rule_data *data = &msg->data;
 
 	/*
 	 * Populate the selectors for encap direction
@@ -323,6 +324,11 @@
 	sel->dst_port = encap->inner_dst_port;
 
 	sel->ipv4_proto = encap->inner_ipv4_proto;
+
+	/*
+	 * Populate the data part
+	 */
+	data->use_pattern = encap->use_pattern;
 }
 
 /*