cfg80211: introduce sync regdom set API for self-managed
authorArik Nemtsov <arik@wizery.com>
Wed, 7 Jan 2015 14:47:19 +0000 (16:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jan 2015 08:43:44 +0000 (09:43 +0100)
commit2c3e861c94a29a30c75f60f2561b4ee70b3fb3a4
tree83edc4013e502b66a541779c486a5bf53c51b5f5
parent2726f23d2d3775668f00b9a884eb88cd8812917c
cfg80211: introduce sync regdom set API for self-managed

A self-managed device will sometimes need to set its regdomain synchronously.
Notably it should be set before usermode has a chance to query it. Expose
a new API to accomplish this which requires the RTNL.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/reg.c