[PATCH] ieee80211: fix not allocating IV+ICV space when usingencryption in ieee80211_...
[safe/jmp/linux-2.6] / net / tipc / subscr.c
index fc17187..e19b4bc 100644 (file)
@@ -457,7 +457,7 @@ int tipc_subscr_start(void)
        int res = -1;
 
        memset(&topsrv, 0, sizeof (topsrv));
-       topsrv.lock = SPIN_LOCK_UNLOCKED;
+       spin_lock_init(&topsrv.lock);
        INIT_LIST_HEAD(&topsrv.subscriber_list);
 
        spin_lock_bh(&topsrv.lock);