]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix ibss scan parameters
authorSara Sharon <sara.sharon@intel.com>
Mon, 25 Jan 2016 13:46:35 +0000 (15:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:27 +0000 (09:04 +0100)
commit6a727c653fbd1232fbc643a5c1a01b1b5de9201b
treeda69c64e900b89327966ad209abcf5260c217497
parentb46103d74c3255dc9d5b76cb16c82ccfbae20b63
mac80211: fix ibss scan parameters

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: 6dd712a3bafc ("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>
net/mac80211/ibss.c