From e466ade385ad510116ee4e6bf7eacf64e2ddeb20 Mon Sep 17 00:00:00 2001 From: Anthony Merlino Date: Wed, 12 Jul 2017 00:59:38 -0400 Subject: [PATCH] ieee802154: Set devmode to endpoint on MAC layer reset --- wireless/ieee802154/mac802154_reset.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/wireless/ieee802154/mac802154_reset.c b/wireless/ieee802154/mac802154_reset.c index 1f1025815f..a573df21c8 100644 --- a/wireless/ieee802154/mac802154_reset.c +++ b/wireless/ieee802154/mac802154_reset.c @@ -134,24 +134,8 @@ int mac802154_req_reset(MACHANDLE mac, bool resetattr) &attr); priv->max_frame_waittime = attr.mac.max_frame_waittime; - /* These attributes are effected and determined based on the PHY. Need to - * figure out how to "share" attributes between the radio driver and this - * MAC layer - * - * macAckWaitDuration - * macBattLifeExtPeriods - * macMaxFrameTotalWaitTime - * macLIFSPeriod - * macSIFSPeriod - * macSyncSymbolOffset - * macTimestampSupported - * macTxControlActiveDuration - * macTxControlPauseDuration - * macRxOnWhenIdle - */ + mac802154_setdevmode(priv, IEEE802154_DEVMODE_ENDPOINT); } return OK; } - -