Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Stange <nstange@suse.de>2019-06-30 20:16:06 +0200
committerNicolai Stange <nstange@suse.de>2019-06-30 20:16:06 +0200
commit2e78038ece87fa43d687cb40e7d83ef9bf0f2801 (patch)
tree079e53d83a12d0aba2ae623d076e212c1229ef5a
parent2f87a05d7eb394ea16febc0f07358c03a32d4993 (diff)
parent1df459a9439c8073d856a38699976eee08536777 (diff)
Merge branch 'bsc#1136446_15.0u0-10' into SLE15_Update_1
-rw-r--r--bsc1136446/livepatch_bsc1136446.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/bsc1136446/livepatch_bsc1136446.c b/bsc1136446/livepatch_bsc1136446.c
index bf98847..d9abf53 100644
--- a/bsc1136446/livepatch_bsc1136446.c
+++ b/bsc1136446/livepatch_bsc1136446.c
@@ -81,6 +81,8 @@ static int (*klp_mwifiex_update_vs_ie)(const u8 *ies, int ies_len,
unsigned int oui, u8 oui_type);
static void (*klp__mwifiex_dbg)(const struct mwifiex_adapter *adapter, int mask,
const char *fmt, ...);
+static const u8 *(*klp_cfg80211_find_vendor_ie)(unsigned int oui, int oui_type,
+ const u8 *ies, int len);
static struct klp_kallsyms_reloc klp_funcs[] = {
{ "mwifiex_update_uap_custom_ie",
@@ -88,6 +90,8 @@ static struct klp_kallsyms_reloc klp_funcs[] = {
{ "mwifiex_update_vs_ie",
(void *)&klp_mwifiex_update_vs_ie, "mwifiex" },
{ "_mwifiex_dbg", (void *)&klp__mwifiex_dbg, "mwifiex" },
+ { "cfg80211_find_vendor_ie", (void *)&klp_cfg80211_find_vendor_ie,
+ "cfg80211" },
};
/* from drivers/net/wireless/marvell/mwifiex/decl.h */
@@ -880,9 +884,9 @@ static int klp_mwifiex_uap_parse_tail_ies(struct mwifiex_private *priv,
/* parse only WPA vendor IE from tail, WMM IE is configured by
* bss_config command
*/
- vendorhdr = (void *)cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT,
- WLAN_OUI_TYPE_MICROSOFT_WPA,
- info->tail, info->tail_len);
+ vendorhdr = (void *)klp_cfg80211_find_vendor_ie(WLAN_OUI_MICROSOFT,
+ WLAN_OUI_TYPE_MICROSOFT_WPA,
+ info->tail, info->tail_len);
if (vendorhdr) {
/*
* Fix bsc#1136935