cfg80211: remove enum ieee80211_band
[cascardo/linux.git] / drivers / net / wireless / rsi / rsi_91x_pkt.c
index a0b31c0..02920c9 100644 (file)
@@ -184,7 +184,7 @@ int rsi_send_mgmt_pkt(struct rsi_common *common,
        if (wh->addr1[0] & BIT(0))
                msg[3] |= cpu_to_le16(RSI_BROADCAST_PKT);
 
-       if (common->band == IEEE80211_BAND_2GHZ)
+       if (common->band == NL80211_BAND_2GHZ)
                msg[4] = cpu_to_le16(RSI_11B_MODE);
        else
                msg[4] = cpu_to_le16((RSI_RATE_6 & 0x0f) | RSI_11G_MODE);