]> git.pld-linux.org Git - packages/wl.git/blame - linux-4.7.patch
- fix building with kernel 5.1
[packages/wl.git] / linux-4.7.patch
CommitLineData
5bfd004b
JR
1--- wl-6.30.223.271/src/wl/sys/wl_cfg80211_hybrid.c~ 2015-09-19 00:47:30.000000000 +0200
2+++ wl-6.30.223.271/src/wl/sys/wl_cfg80211_hybrid.c 2016-07-31 19:54:31.535189248 +0200
3@@ -43,6 +43,13 @@
4 #define EVENT_FLAGS(e) dtoh16((e)->flags)
5 #define EVENT_STATUS(e) dtoh32((e)->status)
6
7+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0))
8+#define ieee80211_band nl80211_band
9+#define IEEE80211_BAND_2GHZ NL80211_BAND_2GHZ
10+#define IEEE80211_BAND_5GHZ NL80211_BAND_5GHZ
11+#define IEEE80211_NUM_BANDS NUM_NL80211_BANDS
12+#endif
13+
14 #ifdef BCMDBG
15 u32 wl_dbg_level = WL_DBG_ERR | WL_DBG_INFO;
16 #else
This page took 0.035745 seconds and 4 git commands to generate.