]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: fix ibss scan parameters
authorSara Sharon <sara.sharon@intel.com>
Mon, 25 Jan 2016 13:46:35 +0000 (15:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2016 06:45:22 +0000 (15:45 +0900)
commitade3fb8e9dd8341b82abf29ed64919055ecabb04
treea7e1035c5e5395135c0d753b2baf1b665f1f0381
parentea7cd6ee57fb6a176d666da6ec9e4a50a56dc6d5
mac80211: fix ibss scan parameters

commit d321cd014e51baab475efbdec468255b9e0ec822 upstream.

When joining IBSS a full scan should be initiated in order to search
for existing cell, unless the fixed_channel parameter was set.
A default channel to create the IBSS on if no cell was found is
provided as well.
However - a scan is initiated only on the default channel provided
regardless of whether ifibss->fixed_channel is set or not, with the
obvious result of the cell not joining existing IBSS cell that is
on another channel.

Fixes: 76bed0f43b27 ("mac80211: IBSS fix scan request")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/ibss.c