]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mac802154: iface: fix hrtimer cancel on ifdown
authorAlexander Aring <alex.aring@gmail.com>
Sat, 13 Jun 2015 20:15:51 +0000 (22:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 14 Jun 2015 23:22:19 +0000 (01:22 +0200)
commitb4ee194441d7e4457c7bac6c2a5da8428974db5a
tree388fdab0b5d3f6b4087aa63241dec900c6e62381
parent1bc1754e82f03c2c29b6e39ee02af48fa3bdef23
mac802154: iface: fix hrtimer cancel on ifdown

The interframe spacing timer is a per phy definition and is part of a
ieee802154_local structure. If we have possible multiple interfaces
ifdown one interface then the timer should not be cancled. First if the
last interface is down and the receive handling is stopped we should be
sure that the interframe spacing timer isn't run anymore.

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