Bluetooth: Fix respecting le_default_mps value
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 27 Jan 2014 23:11:33 +0000 (15:11 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:38 +0000 (09:51 +0200)
commitd1d79413ec066b9d13390590be3ff684e2dd3631
tree75d07c2488cf12662acfb683ea9a8d422d5309aa
parent7a8e5a31ecd50ace4fce57304c8fdd206f013fde
Bluetooth: Fix respecting le_default_mps value

There's a le_default_mps variable that can be modified through debugfs
but it was never actually used for determining our MPS value. This patch
fixes the MPS initialization to use the variable instead of a fixed
value.

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