On Mon, 2014-08-18 at 13:19 +0200, Michal Kazior wrote: > The new_ctx pointer is set only for non-chanctx > drivers. This yielded a crash for chanctx-based > drivers during channel switch finalization: > > BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 > IP: ieee80211_vif_use_reserved_switch+0x71c/0xb00 [mac80211] > > Use an adequate chanctx pointer to fix this. > > Reported-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Michal Kazior <michal.kazior@xxxxxxxxx> > --- > Note: This is based on mac80211-next/master albeit > it should apply cleanly on wireless-next/master > and v3.17-rc1. > > I've verified this fix with iwlmvm & 7260. Cool! I've also tested this (with P2P client) and it works fine. You can add my: Tested-by: Luciano Coelho <luciano.coelho@xxxxxxxxx> The reason I haven't seen this before is because I've been using 2 channels support with iwlmvm, so we never get an in-place channel switch. :( The normal case is to have single channel support... -- Cheers, Luca. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html