From e97477359bf749b03a6548c6a9236c029770eea8 Mon Sep 17 00:00:00 2001 From: StefanCristian Date: Mon, 24 Oct 2016 02:02:49 +0000 Subject: Adding broadcom-sta-dkms for collection and usage ( of dkms ) :P --- .../files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch (limited to 'sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch') diff --git a/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch new file mode 100644 index 00000000..55b30e34 --- /dev/null +++ b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch @@ -0,0 +1,14 @@ +--- a/src/wl/sys/wl_cfg80211_hybrid.c 2016-08-20 17:19:11.285578121 +0200 ++++ b/src/wl/sys/wl_cfg80211_hybrid.c 2016-08-20 17:20:55.611574041 +0200 +@@ -49,6 +49,11 @@ + u32 wl_dbg_level = WL_DBG_ERR; + #endif + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 7, 0) ++#define IEEE80211_BAND_2GHZ NL80211_BAND_2GHZ ++#define IEEE80211_BAND_5GHZ NL80211_BAND_5GHZ ++#endif ++ + static s32 wl_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev, + enum nl80211_iftype type, u32 *flags, struct vif_params *params); + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 6, 0) -- cgit v1.2.3