mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-16 16:57:29 +00:00
There are significant changes between NSS version 11.4.0.5 and 12.1 (12.0.5), that it doesn't really make sense to use it with older firmware (i.e. using mesh releated features). This change will explicitly link building the proper driver and client packages when FW 12.1 or 11.4 is selected, while also backporting patches from 12.4.
12 lines
405 B
Diff
12 lines
405 B
Diff
--- a/nss_core.c
|
|
+++ b/nss_core.c
|
|
@@ -1616,7 +1616,7 @@ static int32_t nss_core_handle_cause_que
|
|
*
|
|
*/
|
|
if (unlikely((buffer_type == N2H_BUFFER_CRYPTO_RESP))) {
|
|
- dma_unmap_single(NULL, (desc->buffer + desc->payload_offs), desc->payload_len, DMA_FROM_DEVICE);
|
|
+ dma_unmap_single(nss_ctx->dev, (desc->buffer + desc->payload_offs), desc->payload_len, DMA_FROM_DEVICE);
|
|
goto consume;
|
|
}
|
|
|