aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/ath10k-ct/patches/110-api_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-27 13:04:32 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-01 17:49:54 +0100
commit02586cb10523a1d7d1c974a5c3d226760ab55071 (patch)
tree35e9d4c5766c16abe54ced3a6395ddcd3bf0df0c /package/kernel/ath10k-ct/patches/110-api_fix.patch
parentf18f3c87f35b66100e954ad3adb23da144a3ec2e (diff)
downloadupstream-02586cb10523a1d7d1c974a5c3d226760ab55071.tar.gz
upstream-02586cb10523a1d7d1c974a5c3d226760ab55071.tar.bz2
upstream-02586cb10523a1d7d1c974a5c3d226760ab55071.zip
ath10k-ct: fix kernel api compatibility issues
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/ath10k-ct/patches/110-api_fix.patch')
-rw-r--r--package/kernel/ath10k-ct/patches/110-api_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/ath10k-ct/patches/110-api_fix.patch b/package/kernel/ath10k-ct/patches/110-api_fix.patch
new file mode 100644
index 0000000000..4c210369fe
--- /dev/null
+++ b/package/kernel/ath10k-ct/patches/110-api_fix.patch
@@ -0,0 +1,11 @@
+--- a/ath10k/htt_rx.c
++++ b/ath10k/htt_rx.c
+@@ -2490,7 +2490,7 @@ bool ath10k_htt_t2h_msg_handler(struct a
+ u32 freq = __le32_to_cpu(resp->chan_change.freq);
+
+ ar->tgt_oper_chan =
+- __ieee80211_get_channel(ar->hw->wiphy, freq);
++ ieee80211_get_channel(ar->hw->wiphy, freq);
+ ath10k_dbg(ar, ATH10K_DBG_HTT,
+ "htt chan change freq %u phymode %s\n",
+ freq, ath10k_wmi_phymode_str(phymode));