cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / drivers / net / wireless / st / cw1200 / scan.c
index bff81b8..9837881 100644 (file)
@@ -402,7 +402,7 @@ void cw1200_probe_work(struct work_struct *work)
        }
        wsm = (struct wsm_tx *)frame.skb->data;
        scan.max_tx_rate = wsm->max_tx_rate;
-       scan.band = (priv->channel->band == IEEE80211_BAND_5GHZ) ?
+       scan.band = (priv->channel->band == NL80211_BAND_5GHZ) ?
                WSM_PHY_BAND_5G : WSM_PHY_BAND_2_4G;
        if (priv->join_status == CW1200_JOIN_STATUS_STA ||
            priv->join_status == CW1200_JOIN_STATUS_IBSS) {