diff options
author | StefanCristian <steven.darklight@gmail.com> | 2016-10-24 02:02:49 +0000 |
---|---|---|
committer | StefanCristian <steven.darklight@gmail.com> | 2016-10-24 02:02:49 +0000 |
commit | e97477359bf749b03a6548c6a9236c029770eea8 (patch) | |
tree | 61028e45c82a7bdb7876bd8d2536c382557e9942 /sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch | |
parent | 6f6762411d44f0805450901cec7c526d09ea039b (diff) |
Adding broadcom-sta-dkms for collection and usage ( of dkms ) :P
Diffstat (limited to 'sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch')
-rw-r--r-- | sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.271-r3-linux-4.7.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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) |