6lowpan: fix/move/cleanup debug functions
authorAlexander Aring <alex.aring@gmail.com>
Thu, 12 Dec 2013 19:15:25 +0000 (20:15 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Dec 2013 20:14:54 +0000 (12:14 -0800)
commit841a5ec72c028432f716670c4a7c2e1b70ee1341
tree7f5c061987928ff287c1c55b3ffe596c4c670f98
parent30d3db44bb337321b25344eea3ed6a64ee16fcc8
6lowpan: fix/move/cleanup debug functions

There are several issues on current debug behaviour.
This patch fix the following issues:

- Fix debug printout only if DEBUG is defined.
- Move debug functions of 6LoWPAN code into 6lowpan header.
- Cleanup codestyle of debug functions.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c
net/ieee802154/6lowpan.c
net/ieee802154/6lowpan.h
net/ieee802154/6lowpan_iphc.c