mac80211: improve chanctx reservation lookup
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 9 Apr 2014 13:29:29 +0000 (15:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:08:30 +0000 (17:08 +0200)
commit13f348a814e75667a9cc0b00f9a87dae5ab9b943
tree75c568580a72ef8951ff734c5f1c41f67b60c8b0
parent0288157b2ad085e564fb563fbe7794c9ffae4169
mac80211: improve chanctx reservation lookup

Use a separate function to look for reservation
chanctx. For multi-interface/channel reservation
search sematics differ slightly.

The new routine allows reservations to be merged
with chanctx that are already reserved by other
interface(s).

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c