mirror of
https://github.com/breeze303/nss-packages.git
synced 2025-12-16 08:44:52 +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.
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
--- a/tls/nss_tlsmgr_priv.h
|
|
+++ b/tls/nss_tlsmgr_priv.h
|
|
@@ -28,7 +28,7 @@
|
|
#define NSS_TLSMGR_DEBUG_LEVEL_INFO 3
|
|
#define NSS_TLSMGR_DEBUG_LEVEL_TRACE 4
|
|
|
|
-#define nss_tlsmgr_info_always(s, ...) pr_info("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__)
|
|
+#define nss_tlsmgr_info_always(s, ...) pr_info("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__);
|
|
|
|
#define nss_tlsmgr_error(s, ...) do { \
|
|
if (net_ratelimit()) { \
|
|
@@ -43,18 +43,18 @@
|
|
} while (0)
|
|
|
|
#if defined(CONFIG_DYNAMIC_DEBUG)
|
|
-#define nss_tlsmgr_info(s, ...) pr_debug("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__)
|
|
-#define nss_tlsmgr_trace(s, ...) pr_debug("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__)
|
|
+#define nss_tlsmgr_info(s, ...) pr_debug("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__);
|
|
+#define nss_tlsmgr_trace(s, ...) pr_debug("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__);
|
|
#else
|
|
|
|
#define nss_tlsmgr_info(s, ...) { \
|
|
if (NSS_TLSMGR_DEBUG_LEVEL > NSS_TLSMGR_DEBUG_LEVEL_WARN) \
|
|
- pr_notice("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__) \
|
|
+ pr_notice("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__); \
|
|
}
|
|
|
|
#define nss_tlsmgr_trace(s, ...) { \
|
|
if (NSS_TLSMGR_DEBUG_LEVEL > NSS_TLSMGR_DEBUG_LEVEL_INFO) \
|
|
- pr_info("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__) \
|
|
+ pr_info("%s[%d]:" s "\n", __func__, __LINE__, ##__VA_ARGS__); \
|
|
}
|
|
|
|
#endif /* CONFIG_DYNAMIC_DEBUG */
|