swconfig: release switch in error path of swconfig_get_attr
authorGabor Juhos <juhosg@openwrt.org>
Sun, 13 Jun 2010 11:37:32 +0000 (11:37 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 13 Jun 2010 11:37:32 +0000 (11:37 +0000)
commit9a3782b35f8bed7e729beadce742c5b4b4422740
treeefb23256da1225497c5c0335e954c1dd9b542a14
parenta43dd45021ce509db38652b5ca19a3884441af60
swconfig: release switch in error path of swconfig_get_attr

Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21779 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic-2.6/files/drivers/net/phy/swconfig.c