]> git.karo-electronics.de Git - linux-beck.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)
commit11cff96c0660e1e361d60ab90514ffbbfbaf7c03
tree134ab8c7bb898867d5b65157d303cbdca528461c
parentfdc9d7b2863ce67f51ed64f89e5b20f3077be569
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