Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102152000
D43647.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
824 B
Referenced Files
None
Subscribers
None
D43647.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D43647: iwlwifi: adjust to make d3.c compile
Attached
Detach File
Event Timeline
Log In to Comment