6loWPAN: Some fixed to get a clean compile after last big changes to the radio IOCTLs.

This commit is contained in:
Gregory Nutt
2017-05-05 10:00:18 -06:00
parent 37d8e4fa79
commit 95bacb6a34
4 changed files with 19 additions and 11 deletions
+7 -7
View File
@@ -577,10 +577,9 @@ static int lo_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
static int lo_ioctl(FAR struct net_driver_s *dev, int cmd,
unsigned long arg)
{
FAR struct lo_driver_s *priv = (FAR struct lo_driver_s *)dev->d_private;
int ret = -ENOTTY;
#if 0
FAR struct lo_driver_s *priv = (FAR struct lo_driver_s *)dev->d_private;
/* Check for IOCTLs aimed at the IEEE802.15.4 MAC layer */
if (_MAC802154IOCVALID(cmd))
@@ -588,12 +587,13 @@ static int lo_ioctl(FAR struct net_driver_s *dev, int cmd,
FAR struct ieee802154_netmac_s *netmac =
(FAR struct ieee802154_netmac_s *)arg;
}
/* No, check for IOCTLs aimed at the IEEE802.15.4 radio layer */
else
#endif
return ret;
{
/* Not a valid IEEE 802.15.4 MAC IOCTL command */
return -ENOTTY;
}
}
#endif