[qca-nss-drv]: Send flush payloads command to NSS accordingly based on MTU change

CRs-Fixed: 795688

Change-Id: Idb92f322ea7dc050be80e1a51861d271a438725f
Signed-off-by: Radha krishna Simha Jiguru <rjiguru@codeaurora.org>
diff --git a/nss_init.c b/nss_init.c
index 4bfee61..5a134e1 100755
--- a/nss_init.c
+++ b/nss_init.c
@@ -583,6 +583,7 @@
 	}
 
 	if (npd->crypto_enabled == NSS_FEATURE_ENABLED) {
+		nss_top->crypto_enabled = 1;
 		nss_top->crypto_handler_id = nss_dev->id;
 		nss_crypto_register_handler();
 	}
@@ -1440,6 +1441,11 @@
 #endif
 
 	/*
+	 * Initialize mtu size needed as start
+	 */
+	nss_top_main.prev_mtu_sz = NSS_GMAC_NORMAL_FRAME_MTU;
+
+	/*
 	 * Register platform_driver
 	 */
 	return platform_driver_register(&nss_driver);