/* the rest are 0 by default */
};
-static const struct ieee80211_supported_band *iwl3945_get_band(
- struct iwl_priv *priv, enum ieee80211_band band)
-{
- return priv->hw->wiphy->bands[band];
-}
-
/*************** DMA-QUEUE-GENERAL-FUNCTIONS *****
* DMA services
*
struct ieee80211_rate *rate;
int i;
- sband = iwl3945_get_band(priv, priv->band);
+ sband = iwl_get_hw_mode(priv, priv->band);
if (!sband) {
IWL_ERR(priv, "Failed to set rate: unable to get hw mode\n");
return;
u16 active_dwell = 0;
int added, i;
- sband = iwl3945_get_band(priv, band);
+ sband = iwl_get_hw_mode(priv, band);
if (!sband)
return 0;