From e53970583eeec6b73d7ba1c2651aa932fb066384 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Thu, 17 Sep 2020 14:56:08 +0900 Subject: [PATCH] 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 --- drivers/wireless/Kconfig | 1 + drivers/wireless/gs2200m.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/wireless/Kconfig b/drivers/wireless/Kconfig index 8e90f2a1c8..f1a82f98b9 100644 --- a/drivers/wireless/Kconfig +++ b/drivers/wireless/Kconfig @@ -35,6 +35,7 @@ config WL_GS2200M select SPI select LIBC_SCANSET select SCHED_LPWORK + select DRIVERS_IEEE80211 if WL_GS2200M diff --git a/drivers/wireless/gs2200m.c b/drivers/wireless/gs2200m.c index e07eca4159..2e0cb4c3c2 100644 --- a/drivers/wireless/gs2200m.c +++ b/drivers/wireless/gs2200m.c @@ -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;