commit | 53f9ee61b46d81a43d8c6694d136896e8f49a7b8 | [log] [tgz] |
---|---|---|
author | Alexander Aring <alex.aring@gmail.com> | Wed Nov 05 20:51:12 2014 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Nov 05 21:53:03 2014 +0100 |
tree | d6d98d0ad30cb084516cbbc741425f95c0dee46c | |
parent | 0d8a52f933f817d0b62955a5a362fb7f2508f06c [diff] |
ieee802154: rework wpan_phy index assignment This patch reworks the wpan_phy index incrementation. It's now similar like wireless wiphy index incrementation. We move the wpan_phy index attribute inside of cfg802154_registered_device and use atomic operations instead locking mechanism via wpan_phy_mutex. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>