Fix some errors found in build testing.

This commit is contained in:
Gregory Nutt
2018-06-25 17:04:49 -06:00
parent c439b93627
commit bdb73a60ca
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ FAR struct net_driver_s *netdev_findbyindex(int ifindex)
#ifdef CONFIG_NETDEV_IFINDEX
/* Check if this index has been assigned */
if ((g_devset & (1L << (ifindex-1))) == 0)
if ((g_devset & (1L << (ifindex - 1))) == 0)
{
/* This index has not been assigned */