mac802154: cleanup open count handling
authorAlexander Aring <alex.aring@gmail.com>
Tue, 28 Oct 2014 17:21:31 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Oct 2014 22:19:09 +0000 (23:19 +0100)
commit74457641558baded3c9f05bc3fb81293a2c02b2e
tree1c44bfe9006769028481efa56766b7e0de121a18
parentc7420c367d63a7e1414e010afb52c3837fd9134e
mac802154: cleanup open count handling

This patch cleanups the open_count variable increment in open and close
calls of netdev.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/iface.c