]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06d0d55ccf5ae1ead469e42144573ad229dd7604
tree83edc4013e502b66a541779c486a5bf53c51b5f5
parentf07cb7c4c0f6e16d76457dbf5e6e76bcbbe77504
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