4c210369fe24174fdfd8f8a3601b0e09c00dfbf1
[openwrt/staging/lynxis.git] / package / kernel / ath10k-ct / patches / 110-api_fix.patch
1 --- a/ath10k/htt_rx.c
2 +++ b/ath10k/htt_rx.c
3 @@ -2490,7 +2490,7 @@ bool ath10k_htt_t2h_msg_handler(struct a
4 u32 freq = __le32_to_cpu(resp->chan_change.freq);
5
6 ar->tgt_oper_chan =
7 - __ieee80211_get_channel(ar->hw->wiphy, freq);
8 + ieee80211_get_channel(ar->hw->wiphy, freq);
9 ath10k_dbg(ar, ATH10K_DBG_HTT,
10 "htt chan change freq %u phymode %s\n",
11 freq, ath10k_wmi_phymode_str(phymode));