Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314819
b: refs/heads/master
c: 6df653c
h: refs/heads/master
i:
  314817: 798b318
  314815: 4b696df
v: v3
  • Loading branch information
Luciano Coelho authored and Johannes Berg committed Jun 20, 2012
1 parent f0b1a6d commit e4b8f4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 559cef996d2e4c9b652a53bb3a53e5787e247f57
refs/heads/master: 6df653c71e8168e1df01118cc85cd84d0deeb583
4 changes: 2 additions & 2 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -3012,7 +3012,7 @@ static int ieee80211_prep_connection(struct ieee80211_sub_if_data *sdata,
struct ieee80211_local *local = sdata->local;
struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
struct ieee80211_bss *bss = (void *)cbss->priv;
struct sta_info *sta;
struct sta_info *sta = NULL;
bool have_sta = false;
int err;
int ht_cfreq;
Expand Down Expand Up @@ -3102,7 +3102,7 @@ static int ieee80211_prep_connection(struct ieee80211_sub_if_data *sdata,
local->oper_channel = cbss->channel;
ieee80211_hw_config(local, 0);

if (!have_sta) {
if (sta) {
u32 rates = 0, basic_rates = 0;
bool have_higher_than_11mbit;
int min_rate = INT_MAX, min_rate_index = -1;
Expand Down

0 comments on commit e4b8f4b

Please sign in to comment.