Files
wlan-ap/feeds/ipq807x_v5.4/libtcmd/patches/100-compile.patch
John Crispin 2197badcde ipq807x: make FTM work
Signed-off-by: John Crispin <john@phrozen.org>
2024-02-06 14:56:25 +01:00

28 lines
641 B
Diff

Index: libtcmd-11.5/libtcmd.h
===================================================================
--- libtcmd-11.5.orig/libtcmd.h
+++ libtcmd-11.5/libtcmd.h
@@ -71,7 +71,9 @@ struct tcmd_cfg {
struct sigevent sev;
timer_t timer;
bool timeout;
-} tcmd_cfg;
+};
+
+extern struct tcmd_cfg tcmd_cfg;
/* WLAN API */
#ifdef WLAN_API_NL80211
Index: libtcmd-11.5/nl80211.c
===================================================================
--- libtcmd-11.5.orig/nl80211.c
+++ libtcmd-11.5/nl80211.c
@@ -23,6 +23,7 @@
#endif
int cb_ret;
+struct tcmd_cfg tcmd_cfg;
#ifdef LIBNL_2
static inline struct nl_sock *nl_handle_alloc(void)