1 *** rtmp_init.c 2009-05-12 11:17:35.000000000 +0200
2 --- rtmp_init.c.orig 2011-03-19 11:12:53.350002232 +0100
6 pAd->RTUSBCmdThr_pid= -1;
8 ! init_MUTEX_LOCKED(&(pAd->usbdev_semaphore));
9 ! init_MUTEX_LOCKED(&(pAd->mlme_semaphore));
10 ! init_MUTEX_LOCKED(&(pAd->RTUSBCmd_semaphore));
12 init_completion (&pAd->mlmenotify); // event initially non-signalled
13 init_completion (&pAd->cmdnotify); // event initially non-signalled
16 pAd->RTUSBCmdThr_pid= -1;
18 ! sema_init(&(pAd->usbdev_semaphore), 0);
19 ! sema_init(&(pAd->mlme_semaphore), 0);
20 ! sema_init(&(pAd->RTUSBCmd_semaphore), 0);
22 init_completion (&pAd->mlmenotify); // event initially non-signalled
23 init_completion (&pAd->cmdnotify); // event initially non-signalled