]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mac80211: Creating new IBSS with fixed BSSID
authorAlina Friedrichsen <x-alina@gmx.net>
Thu, 29 Jan 2009 08:59:43 +0000 (09:59 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:39 +0000 (15:03 -0500)
commitc0415b547d37e8065ad4adf289d11db2f3b16dfd
treed41465a61ecfaece86102fad50b0fb704f06da9e
parent547c3763765654f9a796e628692d9e7d5c1039af
mac80211: Creating new IBSS with fixed BSSID

This fixes a bug when creating a new IBSS network with a
fixed BSSID. The fixed BSSID situation is now with one of
my last patches handled in ieee80211_sta_find_ibss()
function.

It's more robust to test against
(ifsta->flags & IEEE80211_STA_PREV_BSSID_SET), because
ifsta->state is not seted right in every situation and so
the creating of the new IBSS network sometimes hangs after
the first try to scan for a network to merge.

Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c