projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac802154: Follow the number of associated devices
[linux-2.6-microblaze.git]
/
net
/
ieee802154
/
core.c
diff --git
a/net/ieee802154/core.c
b/net/ieee802154/core.c
index
2d6fe45
..
60e8fff
100644
(file)
--- a/
net/ieee802154/core.c
+++ b/
net/ieee802154/core.c
@@
-212,6
+212,8
@@
static void cfg802154_free_peer_structures(struct wpan_dev *wpan_dev)
kfree(child);
}
+ wpan_dev->nchildren = 0;
+
mutex_unlock(&wpan_dev->association_lock);
}