1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 12:29:32 +02:00

swconfig: fix lock imbalance in unregister_switch()

Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21780 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2010-06-13 11:37:35 +00:00
parent b4566a37d1
commit f03c775c62

View File

@ -886,6 +886,7 @@ unregister_switch(struct switch_dev *dev)
swconfig_lock();
list_del(&dev->dev_list);
swconfig_unlock();
spin_unlock(&dev->lock);
}
EXPORT_SYMBOL_GPL(unregister_switch);