Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134032
b: refs/heads/master
c: cbba18c
h: refs/heads/master
v: v3
  • Loading branch information
Kolekar, Abhijeet authored and John W. Linville committed Jan 29, 2009
1 parent 70ffd10 commit 0ccf40e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d552bfb65241a35d48e44ddb0d27e0454f579ab4
refs/heads/master: cbba18c6e3d1b2610f9a63c4636247af26141686
10 changes: 2 additions & 8 deletions trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,6 @@ struct iwl_mod_params iwl3945_mod_params = {
/* 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
*
Expand Down Expand Up @@ -2462,7 +2456,7 @@ static void iwl3945_set_rate(struct iwl_priv *priv)
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;
Expand Down Expand Up @@ -4537,7 +4531,7 @@ static int iwl3945_get_channels_for_scan(struct iwl_priv *priv,
u16 active_dwell = 0;
int added, i;

sband = iwl3945_get_band(priv, band);
sband = iwl_get_hw_mode(priv, band);
if (!sband)
return 0;

Expand Down

0 comments on commit 0ccf40e

Please sign in to comment.