From 7584fd04a414973bc3161ae110540313c65b1cc9 Mon Sep 17 00:00:00 2001
From: Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
Date: Fri, 7 Feb 2014 18:23:02 +0100
Subject: [PATCH] fix maca get_channel transceiver switch

---
 sys/transceiver/transceiver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/transceiver/transceiver.c b/sys/transceiver/transceiver.c
index 1474fe1c4c..29157709f8 100644
--- a/sys/transceiver/transceiver.c
+++ b/sys/transceiver/transceiver.c
@@ -743,6 +743,7 @@ static int32_t get_channel(transceiver_type_t t)
 #ifdef MODULE_MC1322X
         case TRANSCEIVER_MC1322X:
             ///< TODO:implement return maca_get_channel(); 
+            return -1;
 #endif
 #ifdef MODULE_NATIVENET
         case TRANSCEIVER_NATIVE:
-- 
GitLab