diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-02-25 20:24:38 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-02-25 20:24:38 +0000 |
commit | b24accd72d72758227165d6b90c7d9001094b5a6 (patch) | |
tree | 9c68629574c43224e33b55a31cabca766652b0ff /package/kernel/mac80211/patches/309-01-brcmfmac-add-missing-include.patch | |
parent | 64da662a88aafb7f8a1637fa0e29118445e98252 (diff) | |
download | mtk-20170518-b24accd72d72758227165d6b90c7d9001094b5a6.zip mtk-20170518-b24accd72d72758227165d6b90c7d9001094b5a6.tar.gz mtk-20170518-b24accd72d72758227165d6b90c7d9001094b5a6.tar.bz2 |
mac80211: backport brcmfmac fix for sdio sg table alloc crash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48781
Diffstat (limited to 'package/kernel/mac80211/patches/309-01-brcmfmac-add-missing-include.patch')
-rw-r--r-- | package/kernel/mac80211/patches/309-01-brcmfmac-add-missing-include.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/309-01-brcmfmac-add-missing-include.patch b/package/kernel/mac80211/patches/309-01-brcmfmac-add-missing-include.patch new file mode 100644 index 0000000..d9511c8 --- /dev/null +++ b/package/kernel/mac80211/patches/309-01-brcmfmac-add-missing-include.patch @@ -0,0 +1,19 @@ +From: Felix Fietkau <nbd@openwrt.org> +Date: Fri, 15 Jan 2016 15:59:45 +0100 +Subject: [PATCH] brcmfmac: add missing include + +linux/module.h is required for defining module parameters + +Signed-off-by: Felix Fietkau <nbd@openwrt.org> +--- + +--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c ++++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c +@@ -17,6 +17,7 @@ + #include <linux/kernel.h> + #include <linux/string.h> + #include <linux/netdevice.h> ++#include <linux/module.h> + #include <brcmu_wifi.h> + #include <brcmu_utils.h> + #include "core.h" |