Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac802...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / wireless / rtlwifi / rtl8192ce / trx.c
index 65bf5fb970023bbea4ecaadb7d62c1e83bbfbc83..6ad23b413eb3e6e4251e2242fc4dc912e3b7b6e5 100644 (file)
@@ -363,8 +363,8 @@ bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw,
 
        stats->is_cck = RX_HAL_IS_CCK_RATE(pdesc);
 
-       rx_status->freq = hw->conf.channel->center_freq;
-       rx_status->band = hw->conf.channel->band;
+       rx_status->freq = hw->conf.chandef.chan->center_freq;
+       rx_status->band = hw->conf.chandef.chan->band;
 
        hdr = (struct ieee80211_hdr *)(skb->data + stats->rx_drvinfo_size
                        + stats->rx_bufshift);