Bluetooth: Use min_t for calculating chan->mps
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 6 Dec 2013 05:08:52 +0000 (07:08 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Dec 2013 06:07:42 +0000 (22:07 -0800)
commitf1324ea50b2e48d30fbeac591771fdceac9315ca
tree3f39856bab5fa82b37bd32ff365e09096cdd729b
parent0ce43ce60d5e0c079d33be1fe33ba92828c7e5da
Bluetooth: Use min_t for calculating chan->mps

Since there's a nice convenient helper for calculating the minimum of
two values, let's use that one.

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