]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix AP mode regression
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 22 Aug 2012 08:51:07 +0000 (14:21 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Aug 2012 08:55:04 +0000 (10:55 +0200)
commit27e3b2b319ba16deae655ef2dfde9a5b7c344aa4
tree9bcf0ea5ac574a76eaff216179237819930a19e3
parent0c0aaa62c96a14fd62afaccd06d57925412414ca
mac80211: Fix AP mode regression

Commit mac80211: avoid using synchronize_rcu in ieee80211_set_probe_resp
changed the return value when the probe response template is not present.
Revert to the earlier value of 1 - this fixes AP mode for drivers like
ath9k.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c