6lowpan: udp use subtraction on both conditions
authorAlexander Aring <alex.aring@gmail.com>
Tue, 17 Dec 2013 13:21:27 +0000 (14:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 17 Dec 2013 14:16:48 +0000 (06:16 -0800)
commit45939d2570e4c9120a732464b2dca9c0e5606eb2
treeb865f18887af15caf1e38f87483b5762d640d716
parent1672a36b73eb279910691359962aa999a7443aaf
6lowpan: udp use subtraction on both conditions

Cleanup code to handle both calculation in the same way.

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