drivers: ieee802154: rf2xx: Enable sub-GHz L2 conditionally

Enable the sub-GHz L2 only if the main L2 is enabled too.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2020-02-04 21:37:24 +01:00 committed by Kumar Gala
commit 1a37baf24a

View file

@ -8,7 +8,7 @@ menuconfig IEEE802154_RF2XX
depends on NETWORKING
select SPI
select GPIO
select NET_L2_IEEE802154_SUB_GHZ
select NET_L2_IEEE802154_SUB_GHZ if NET_L2_IEEE802154
if IEEE802154_RF2XX