Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290002
b: refs/heads/master
c: c037b83
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Jan 30, 2012
1 parent f009818 commit ba33fdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 41b2d62702730b0c6bc5a40722e423bb0338311a
refs/heads/master: c037b8367c7e2b775a99d74037f5df014d2fbf06
5 changes: 2 additions & 3 deletions trunk/net/mac80211/ibss.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,15 +655,14 @@ static void ieee80211_sta_merge_ibss(struct ieee80211_sub_if_data *sdata)
if (ieee80211_sta_active_ibss(sdata))
return;

if (ifibss->fixed_bssid)
if (ifibss->fixed_channel)
return;

printk(KERN_DEBUG "%s: No active IBSS STAs - trying to scan for other "
"IBSS networks with same SSID (merge)\n", sdata->name);

ieee80211_request_internal_scan(sdata,
ifibss->ssid, ifibss->ssid_len,
ifibss->fixed_channel ? ifibss->channel : NULL);
ifibss->ssid, ifibss->ssid_len, NULL);
}

static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
Expand Down

0 comments on commit ba33fdd

Please sign in to comment.