From: Johan Hedberg Date: Wed, 19 Feb 2014 12:57:44 +0000 (+0200) Subject: Bluetooth: Return added key when adding LTKs and IRKs X-Git-Tag: v3.15-rc1~113^2~159^2^2~130^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca9142b8825c159897cc4a246ea27585c82add4b;p=pandora-kernel.git Bluetooth: Return added key when adding LTKs and IRKs The SMP code will need to postpone the mgmt event emission for the IRK and LTKs. To avoid extra lookups at the end of the key distribution simply return the added value from the add_ltk and add_irk functions. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed