Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193759
b: refs/heads/master
c: 09a08cf
h: refs/heads/master
i:
  193757: 5dc8282
  193755: 4cd5773
  193751: 2c3f4e1
  193743: a7fe606
  193727: 6d21780
v: v3
  • Loading branch information
Bruno Randolf authored and John W. Linville committed Mar 16, 2010
1 parent 28e83f1 commit bac3af5
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 819386dfc67e770b4a0b59983f7948f8ddaa357e
refs/heads/master: 09a08cff3d13315c948e6aee5cf912f8f1db54e7
16 changes: 8 additions & 8 deletions trunk/net/mac80211/ibss.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,17 +264,16 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata,
sta->sta.supp_rates[band] = supp_rates |
ieee80211_mandatory_rates(local, band);

if (sta->sta.supp_rates[band] != prev_rates) {
#ifdef CONFIG_MAC80211_IBSS_DEBUG
if (sta->sta.supp_rates[band] != prev_rates)
printk(KERN_DEBUG "%s: updated supp_rates set "
"for %pM based on beacon info (0x%llx | "
"0x%llx -> 0x%llx)\n",
sdata->name,
sta->sta.addr,
(unsigned long long) prev_rates,
(unsigned long long) supp_rates,
(unsigned long long) sta->sta.supp_rates[band]);
"for %pM based on beacon/probe_response "
"(0x%x -> 0x%x)\n",
sdata->name, sta->sta.addr,
prev_rates, sta->sta.supp_rates[band]);
#endif
rate_control_rate_init(sta);
}
rcu_read_unlock();
} else {
rcu_read_unlock();
Expand Down Expand Up @@ -370,6 +369,7 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata,
sdata->name, mgmt->bssid);
#endif
ieee80211_sta_join_ibss(sdata, bss);
supp_rates = ieee80211_sta_get_rates(local, elems, band);
ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa,
supp_rates, GFP_KERNEL);
}
Expand Down

0 comments on commit bac3af5

Please sign in to comment.