drivers: wireless: Apply NET_LL_IEEE80211 to gs2200m.c

Summary:
- This commit applies NET_LL_IEEE80211 to gs2200m.c
- Also selects DRIVERS_IEEE80211 in Kconfig

Impact:
- Affects use cases with gs2200m driver

Testing:
- Tested with spresense:wifi and spresense:wifi_smp

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-09-17 14:56:08 +09:00 committed by Alin Jerpelea
parent 18c19c1198
commit e53970583e
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ config WL_GS2200M
select SPI
select LIBC_SCANSET
select SCHED_LPWORK
select DRIVERS_IEEE80211
if WL_GS2200M

View File

@ -3265,7 +3265,7 @@ FAR void *gs2200m_register(FAR const char *devpath,
goto errout;
}
ret = netdev_register(&dev->net_dev, NET_LL_ETHERNET);
ret = netdev_register(&dev->net_dev, NET_LL_IEEE80211);
return (FAR void *)dev;