mac80211: Use a cfg80211_chan_def in ieee80211_hw_conf_chan
[deliverable/linux.git] / drivers / net / wireless / rtlwifi / rtl8192se / trx.c
index 7b0a2e75b8b826dfeb6edf5a19e2136e76733e25..0b074f11f9696a11b5cb82cd895b441a5cb78dcb 100644 (file)
@@ -538,8 +538,8 @@ bool rtl92se_rx_query_desc(struct ieee80211_hw *hw, struct rtl_stats *stats,
        if (stats->hwerror)
                return false;
 
-       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);
This page took 0.024048 seconds and 5 git commands to generate.