Page MenuHomeFreeBSD

D43647.diff
No OneTemporary

D43647.diff

diff --git a/sys/contrib/dev/iwlwifi/fw/api/sta.h b/sys/contrib/dev/iwlwifi/fw/api/sta.h
--- a/sys/contrib/dev/iwlwifi/fw/api/sta.h
+++ b/sys/contrib/dev/iwlwifi/fw/api/sta.h
@@ -477,7 +477,11 @@
u8 decryption_type;
u8 flags;
u8 reserved;
+#if defined(__linux__)
struct iwl_mvm_wep_key wep_key[];
+#elif defined(__FreeBSD__)
+ struct iwl_mvm_wep_key wep_key[0];
+#endif
} __packed; /* SEC_CURR_WEP_KEY_CMD_API_S_VER_2 */
/**
diff --git a/sys/contrib/dev/iwlwifi/mvm/d3.c b/sys/contrib/dev/iwlwifi/mvm/d3.c
--- a/sys/contrib/dev/iwlwifi/mvm/d3.c
+++ b/sys/contrib/dev/iwlwifi/mvm/d3.c
@@ -7,6 +7,9 @@
#include <linux/etherdevice.h>
#include <linux/ip.h>
#include <linux/fs.h>
+#if defined(__FreeBSD__)
+#include <linux/string.h>
+#endif
#include <net/cfg80211.h>
#include <net/ipv6.h>
#include <net/tcp.h>

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 6:41 AM (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14552132
Default Alt Text
D43647.diff (824 B)

Event Timeline