]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: allow cancelling dependent ROCs
authorJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jun 2012 15:09:41 +0000 (17:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Jun 2012 08:11:31 +0000 (10:11 +0200)
commit06ec32973c1184b0535dc737029535e47ffa661a
treed34aea2a3a922b13cb85f5cf4077cad105cd50b2
parent875dfeca4bc7d0e8c544a6e47080d250020a1a00
mac80211: allow cancelling dependent ROCs

In my redesign of remain-on-channel I forgot
that an item could be cancelled when it's a
dependent item that is part of another item.
Allow cancelling such items by removing them
from the dependents list.

Note that when we cancel the main item, all
its dependents are also cancelled. It would
be possible to not do that, but would need
tricks to promote an item from dependent to
top-level and is tricky in the HW ROC case.

Reported-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c