From: Johan Hedberg Date: Thu, 13 Nov 2014 07:46:04 +0000 (+0200) Subject: Bluetooth: Fix L2CAP nesting level initialization location X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~5^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff714119a6d2e2fc3c2e046d77801afa83a9ace2;p=pandora-kernel.git Bluetooth: Fix L2CAP nesting level initialization location There's no reason why all users of L2CAP would need to worry about initializing chan->nesting to L2CAP_NESTING_NORMAL (which is important since 0 is the same as NESTING_SMP). This patch moves the initialization to the common place that's used to create all new channels, i.e. the l2cap_chan_create() function. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed