net: Make DEBUG config option naming consistent

Some of the DEBUG config options had _DEBUG string at the
end of the config option. This is inconsistent with the
rest of the networking stack debug options where the _DEBUG
is located in the middle of the option like this
CONFIG_NET_DEBUG_....

Change-Id: I8542079f9a88631e98b417fd6c62d2db48aa9bdf
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2016-10-28 13:58:56 +03:00
parent 3604b2c954
commit 14e73e73c3
6 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@
* limitations under the License.
*/
#if defined(CONFIG_NET_6LO_DEBUG)
#if defined(CONFIG_NET_DEBUG_6LO)
#define SYS_LOG_DOMAIN "net/6lo"
#define NET_DEBUG 1
#endif

View File

@ -94,7 +94,7 @@ config NET_MAX_6LO_CONTEXTS
6lowpan context options table size. The value depends on your
network and memory connsuption. More size occupies more memory.
config NET_6LO_DEBUG
config NET_DEBUG_6LO
bool "Enable 6lowpan debug"
depends on NET_6LO && NET_LOG

View File

@ -28,7 +28,7 @@ config NET_L2_IEEE802154_MGMT
select NET_MGMT_EVENT
default n
config NET_L2_IEEE802154_DEBUG
config NET_DEBUG_L2_IEEE802154
bool "Enable IEEE 802.15.4 stack debug messages"
default n
depends on NET_LOG
@ -109,7 +109,7 @@ config NET_L2_IEEE802154_REASSEMBLY_TIMEOUT
from peer. Reassembly should be finished within a given time.
Otherwise all accumulated fragments are dropped.
config NET_L2_IEEE802154_FRAGMENT_DEBUG
config NET_DEBUG_L2_IEEE802154_FRAGMENT
bool "Enable debug support for IEEE 802.15.4 fragmentation"
depends on NET_L2_IEEE802154_FRAGMENT && NET_LOG
default n

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#ifdef CONFIG_NET_L2_IEEE802154_DEBUG
#ifdef CONFIG_NET_DEBUG_L2_IEEE802154
#define SYS_LOG_DOMAIN "net/ieee802154"
#define NET_DEBUG 1
#endif

View File

@ -18,7 +18,7 @@
* limitations under the License.
*/
#if defined(CONFIG_NET_L2_IEEE802154_FRAGMENT_DEBUG)
#if defined(CONFIG_NET_DEBUG_L2_IEEE802154_FRAGMENT)
#define SYS_LOG_DOMAIN "net/ieee802154"
#define NET_DEBUG 1
#endif

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#ifdef CONFIG_NET_L2_IEEE802154_DEBUG
#ifdef CONFIG_NET_DEBUG_L2_IEEE802154
#define SYS_LOG_DOMAIN "net/ieee802154"
#define NET_DEBUG 1