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;