[qca-nss-drv] Remove crypto buffer packet type
Use crypto buffer as normal buffer packet instead of using
a special CRYPTO BUFFER packet type.
Change-Id: I061523377f2f20be0361a71fb0e90933119fbcfe
Signed-off-by: Sourav Poddar <souravp@codeaurora.org>
diff --git a/nss_crypto.c b/nss_crypto.c
index cc1808a..2df35e8 100644
--- a/nss_crypto.c
+++ b/nss_crypto.c
@@ -186,7 +186,7 @@
return NSS_TX_FAILURE_NOT_READY;
}
- status = nss_core_send_buffer(nss_ctx, if_num, skb, NSS_IF_DATA_QUEUE_0, H2N_BUFFER_CRYPTO_REQ, 0);
+ status = nss_core_send_buffer(nss_ctx, if_num, skb, NSS_IF_DATA_QUEUE_0, H2N_BUFFER_PACKET, 0);
if (unlikely(status != NSS_CORE_STATUS_SUCCESS)) {
nss_warning("%p: tx_data Unable to enqueue packet", nss_ctx);
if (status == NSS_CORE_STATUS_FAILURE_QUEUE) {