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)
commite3961af1e928a1195204a3e87cf179315c5c4990
tree493e0b78605266cda4b48645e91c455076d146bd
parent96f55f12a2365529b64d7c0d06709719b58ff089
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