Date: | 2010-06-13 13:45:45 (13 years 9 months ago) |
---|---|
Author: | juhosg |
Commit: | 072e16042068f47f8555c63087926f730955f2cd |
Message: | backfire: swconfig: fix lock imbalance in unregister_switch()
(backport of r21780) Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21782 3c298f89-4303-0410-b956-a3cf2f4a3e73 |
Files: |
target/linux/generic-2.6/files/drivers/net/phy/swconfig.c (1 diff) |
Change Details
target/linux/generic-2.6/files/drivers/net/phy/swconfig.c | ||
---|---|---|
882 | 882 | swconfig_lock(); |
883 | 883 | list_del(&dev->dev_list); |
884 | 884 | swconfig_unlock(); |
885 | spin_unlock(&dev->lock); | |
885 | 886 | } |
886 | 887 | EXPORT_SYMBOL_GPL(unregister_switch); |
887 | 888 |