]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: fix fake_hw_scan
authorJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jun 2010 10:31:56 +0000 (12:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Jun 2010 19:11:14 +0000 (15:11 -0400)
commita147e00b163cb7ed8c0e2291ef89be1fe52f60e4
treef17ae4a2290c80e90b84a42d4ccf221dfd643ac8
parent0369e379c14d6ee495e143e542e276d98127efb9
mac80211_hwsim: fix fake_hw_scan

Since mac80211 will not set the max_scan parameters
if hw scan is enabled, hwsim needs to do it so that
cfg80211 won't reject the scan.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c