staging: rtl8723bs: change semaphores to completions
[linux-2.6-block.git] / drivers / staging / rtl8723bs / os_dep / xmit_linux.c
index 2cf903c668548dfe9e2a2d81a9d9eb5ca80b9fff..4e4e565d991c765a0c234cd685699ab90fb78658 100644 (file)
@@ -101,7 +101,7 @@ void rtw_os_xmit_schedule(struct adapter *padapter)
                return;
 
        if (!list_empty(&padapter->xmitpriv.pending_xmitbuf_queue.queue))
-               up(&pri_adapter->xmitpriv.xmit_sema);
+               complete(&pri_adapter->xmitpriv.xmit_comp);
 }
 
 static void rtw_check_xmit_resource(struct adapter *padapter, _pkt *pkt)