ieee802154: Blocks out template code that is not complete to avoid warnings

This commit is contained in:
Anthony Merlino 2017-06-26 00:37:46 -04:00
parent 609934530d
commit 3a427d35a3
4 changed files with 8 additions and 0 deletions

View File

@ -73,7 +73,9 @@
int mac802154_req_disassociate(MACHANDLE mac,
FAR struct ieee802154_disassoc_req_s *req)
{
#if 0
FAR struct ieee802154_privmac_s *priv =
(FAR struct ieee802154_privmac_s *)mac;
#endif
return -ENOTTY;
}

View File

@ -66,7 +66,9 @@
int mac802154_req_gts(MACHANDLE mac, FAR struct ieee802154_gts_req_s *req)
{
#if 0
FAR struct ieee802154_privmac_s *priv =
(FAR struct ieee802154_privmac_s *)mac;
#endif
return -ENOTTY;
}

View File

@ -65,7 +65,9 @@
int mac802154_resp_orphan(MACHANDLE mac,
FAR struct ieee802154_orphan_resp_s *resp)
{
#if 0
FAR struct ieee802154_privmac_s *priv =
(FAR struct ieee802154_privmac_s *)mac;
#endif
return -ENOTTY;
}

View File

@ -71,8 +71,10 @@
int mac802154_req_sync(MACHANDLE mac, FAR struct ieee802154_sync_req_s *req)
{
#if 0
FAR struct ieee802154_privmac_s *priv =
(FAR struct ieee802154_privmac_s *)mac;
#endif
return -ENOTTY;
}