5f7de4a95580186e7d8f86db7ce037afae8517e2
[openwrt/openwrt.git] / package / kernel / ath10k-ct / patches / 110-api_fix.patch
1 --- a/ath10k/htt_rx.c
2 +++ b/ath10k/htt_rx.c
3 @@ -2497,7 +2497,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));