From: Michal Kazior Date: Wed, 9 Apr 2014 13:29:28 +0000 (+0200) Subject: mac80211: improve find_chanctx() for reservations X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~12^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0288157b2ad085e564fb563fbe7794c9ffae4169;p=pandora-kernel.git mac80211: improve find_chanctx() for reservations This allows new vifs to be assigned to a chanctx as long as chanctx's reservation chandefs (if any) and chanctx's current chandef (implied by assigned vifs at the time, if any) and the new vif chandef are all compatible. This implies it is impossible to assign a new vif to an in-place reservation chanctx. This gives no advantages for single-channel hardware. It makes sense for multi-channel hardware only. Signed-off-by: Michal Kazior Signed-off-by: Johannes Berg --- Reading git-diff-tree failed