From 98cba9d7d993373d4e16e6282eb48decc8791fd5 Mon Sep 17 00:00:00 2001 From: janhauer Date: Mon, 18 May 2009 17:16:25 +0000 Subject: [PATCH] Fixed a typo (macPanID was read incorrectly) --- tos/lib/mac/tkn154/BeaconRequestRxP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tos/lib/mac/tkn154/BeaconRequestRxP.nc b/tos/lib/mac/tkn154/BeaconRequestRxP.nc index d9ae1e90..dec823a1 100644 --- a/tos/lib/mac/tkn154/BeaconRequestRxP.nc +++ b/tos/lib/mac/tkn154/BeaconRequestRxP.nc @@ -94,7 +94,7 @@ implementation m_beaconFrame.header->mhr[MHR_INDEX_FC1] = FC1_FRAMETYPE_BEACON; m_beaconFrame.header->mhr[MHR_INDEX_FC2] = isShortAddr ? FC2_SRC_MODE_SHORT : FC2_SRC_MODE_EXTENDED; offset = MHR_INDEX_ADDRESS; - *((nxle_uint16_t*) &m_beaconFrame.header->mhr[offset]) = PAN_ID; + *((nxle_uint16_t*) &m_beaconFrame.header->mhr[offset]) = call MLME_GET.macPANId(); offset += sizeof(ieee154_macPANId_t); if (isShortAddr) { *((nxle_uint16_t*) &m_beaconFrame.header->mhr[offset]) = shortAddress; -- 2.39.2