]> git.baikalelectronics.ru Git - kernel.git/commit
regulatory: simplify restore_regulatory_settings
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Dec 2012 17:56:41 +0000 (18:56 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:24 +0000 (13:01 +0100)
commitb4cbabf5e3b0b57c67f81f04f880f38b0131c45d
tree134ab8c7bb898867d5b65157d303cbdca528461c
parentd45d986bc8dad0a7870ca523ca2334f58c15711e
regulatory: simplify restore_regulatory_settings

Use list_splice_tail_init() and also simplify the locking.

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