qca-nss-drv: fix compilation with GCC 13

This commit is contained in:
bitthief 2023-05-08 18:01:07 +03:00
parent c99298bd45
commit 7798c20353
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/nss_clmap_stats.c
+++ b/nss_clmap_stats.c
@@ -63,7 +63,7 @@ void nss_clmap_stats_session_unregister(
* nss_clmap_stats_session_register
* Register debug statistic for clmap session.
*/
-bool nss_clmap_stats_session_register(uint32_t if_num, uint32_t if_type, struct net_device *netdev)
+bool nss_clmap_stats_session_register(uint32_t if_num, enum nss_clmap_interface_type if_type, struct net_device *netdev)
{
uint32_t i;
bool stats_status = false;

View File

@ -0,0 +1,11 @@
--- a/exports/nss_wifili_if.h
+++ b/exports/nss_wifili_if.h
@@ -2207,7 +2207,7 @@ void nss_wifili_release_external_if(nss_
*/
uint8_t nss_wifili_thread_scheme_alloc(struct nss_ctx_instance *nss_ctx,
int32_t radio_ifnum,
- uint32_t radio_priority);
+ enum nss_wifili_thread_scheme_priority radio_priority);
/**
* nss_wifili_thread_scheme_dealloc