diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-rs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c index 10c64bdb314c..da23c927380f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |||
@@ -682,7 +682,7 @@ static void rs_get_rate(void *priv_rate, struct net_device *dev, | |||
682 | 682 | ||
683 | rs_sta = (void *)sta->rate_ctrl_priv; | 683 | rs_sta = (void *)sta->rate_ctrl_priv; |
684 | 684 | ||
685 | if ((priv->iw_mode == IEEE80211_IF_TYPE_IBSS) && | 685 | if ((priv->iw_mode == NL80211_IFTYPE_ADHOC) && |
686 | !rs_sta->ibss_sta_added) { | 686 | !rs_sta->ibss_sta_added) { |
687 | u8 sta_id = iwl3945_hw_find_station(priv, hdr->addr1); | 687 | u8 sta_id = iwl3945_hw_find_station(priv, hdr->addr1); |
688 | 688 | ||