net: l2: bluetooth: Fix build break in ipsp_disconnected
In commit bf4fb51f44
, "net: if: Add NET_IF_UP flag"
a reference to ctxt->iface was added in the ipsp_disconnected function.
Let's add the ctxt variable definition to fix the build break.
Change-Id: Ib06047e333504f3db4fe175fb3ef1dce347e1916
Signed-off-by: Michael Scott <michael.scott@linaro.org>
This commit is contained in:
parent
a6997bbc17
commit
249cfb682f
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,8 @@ static void ipsp_connected(struct bt_l2cap_chan *chan)
|
|||
|
||||
static void ipsp_disconnected(struct bt_l2cap_chan *chan)
|
||||
{
|
||||
struct bt_context *ctxt = CHAN_CTXT(chan);
|
||||
|
||||
NET_DBG("Channel %p disconnected", chan);
|
||||
|
||||
/* Set iface down */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue