Bluetooth: Fix confusion between parent and child channel for 6lowpan
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 7 Aug 2014 07:03:32 +0000 (10:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:11 +0000 (08:49 +0200)
commit2b29349044cc2cf74d4c6e23e26cd27977d91353
tree53f509126bda4e65bd3dee3877c4ce7c94e2eaba
parent5fcb93475697911eb239f68241903eb5540803ac
Bluetooth: Fix confusion between parent and child channel for 6lowpan

The new_connection L2CAP channel callback creates a new channel based on
the provided parent channel. The 6lowpan code was confusingly naming the
child channel "pchan" and the parent channel "chan". This patch swaps
the names.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c