backports: provide net_ieee802154_lowpan only when needed
authorJohannes Berg <johannes.berg@intel.com>
Mon, 5 May 2014 12:46:11 +0000 (14:46 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:15:48 +0000 (00:15 +0200)
commitfbd854eb7f78fa15fb106ad39544035192193ec5
treeda4cd89fc83e9c75d2ab9a5753666b08a981b71a
parent31f3d37859926c02debe8157b81a6107bf50aaf8
backports: provide net_ieee802154_lowpan only when needed

If 802.15.4 isn't configured, there's no need to provide the
network namespace support for it, so don't.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
[use IS_ENABLED to hanle CPTCFG_IEEE802154_6LOWPAN=m]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/net/net_namespace.h
backport/compat/backport-3.15.c