Author: gnychis
Date: 2008-02-14 15:02:16 -0700 (Thu, 14 Feb 2008)
New Revision: 7689

Modified:
   
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_2rx.cc
Log:
allocating correctly


Modified: 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_2rx.cc
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_2rx.cc
   2008-02-14 20:59:16 UTC (rev 7688)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps-inband/test_usrp_inband_2rx.cc
   2008-02-14 22:02:16 UTC (rev 7689)
@@ -175,10 +175,11 @@
           enter_receiving();
           return;
         }
-        else {
+        else if(pmt_eq(status, PMT_F)){
           error_msg = "failed to allocate channel:";
           goto bail;
         }
+        return;
       }
       goto unhandled;
 



_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio

Reply via email to