]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit814b2d7fcb36594ddffee1a64aa0ac1f4b07e7c6
tree75c568580a72ef8951ff734c5f1c41f67b60c8b0
parent305b040b89fa2bb7a1d0778b7d8c684d9a488120
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