1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

swconfig: use a mutex instead of a spinlock, many swconfig calls sleep

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30952 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2012-03-15 19:32:31 +00:00
parent b5e9c6c090
commit a2e617077c
2 changed files with 6 additions and 6 deletions

View File

@@ -191,7 +191,7 @@ struct switch_dev {
struct list_head dev_list;
unsigned long def_global, def_port, def_vlan;
spinlock_t lock;
struct mutex sw_mutex;
struct switch_port *portbuf;
char buf[128];