mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Bluetooth: 6lowpan: Rename ambiguous variable
This patch renames the variable used to trigger scheduling of delete_netdev. Changed to infinitiv in order to describe the action to be done. Signed-off-by: Lukasz Duda <[email protected]> Signed-off-by: Glenn Ruben Bakke <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
a2105ae1de
commit
f63666d209
1 changed files with 3 additions and 3 deletions
|
|
@ -937,7 +937,7 @@ static void chan_close_cb(struct l2cap_chan *chan)
|
|||
struct lowpan_dev *dev = NULL;
|
||||
struct lowpan_peer *peer;
|
||||
int err = -ENOENT;
|
||||
bool last = false, removed = true;
|
||||
bool last = false, remove = true;
|
||||
|
||||
BT_DBG("chan %p conn %p", chan, chan->conn);
|
||||
|
||||
|
|
@ -948,7 +948,7 @@ static void chan_close_cb(struct l2cap_chan *chan)
|
|||
/* If conn is set, then the netdev is also there and we should
|
||||
* not remove it.
|
||||
*/
|
||||
removed = false;
|
||||
remove = false;
|
||||
}
|
||||
|
||||
spin_lock(&devices_lock);
|
||||
|
|
@ -977,7 +977,7 @@ static void chan_close_cb(struct l2cap_chan *chan)
|
|||
|
||||
ifdown(dev->netdev);
|
||||
|
||||
if (removed) {
|
||||
if (remove) {
|
||||
INIT_WORK(&entry->delete_netdev, delete_netdev);
|
||||
schedule_work(&entry->delete_netdev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue