]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: add helper reg_get_regdomain() function
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Sat, 25 Jan 2014 10:24:11 +0000 (11:24 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 4 Feb 2014 20:58:14 +0000 (21:58 +0100)
commitb78172ad79096a9cddbb9dd46eb157cf570f80c0
tree493e0b78605266cda4b48645e91c455076d146bd
parent600d6a243337faf30269acef262e9e64bfa68695
cfg80211: add helper reg_get_regdomain() function

Add helper function that will return regdomain.
Follow the driver's regulatory domain, if present,
unless a country IE has been processed or a user
wants to help compliance further.

Signed-off-by: Janusz Dziedzic <janusz.dziedzi@tieto.com>
[remove useless reg variable]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c