regulatory: use correct regulatory initiator on wiphy register
authorArik Nemtsov <arik@wizery.com>
Sun, 21 Jul 2013 13:36:48 +0000 (16:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Jul 2013 07:52:46 +0000 (09:52 +0200)
commit23df0b731954502a9391e739b92927cee4360343
treec7cd4d8721cc3a27a518f586b8f6a78d5eb29b6f
parentcd34f647a78e7f2296fcb72392b9e5c832793e65
regulatory: use correct regulatory initiator on wiphy register

The current regdomain was not always set by the core. This causes
cards with a custom regulatory domain to ignore user initiated changes
if done before the card was registered.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c