From: Johannes Berg Date: Wed, 13 Feb 2013 12:50:51 +0000 (+0100) Subject: mac80211: don't call bss_info_changed on p2p-device/monitor X-Git-Tag: v3.9-rc1~139^2~31^2^2~1^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bbe754d9ecc4a09994ecd0cf3b167224e114da5;p=pandora-kernel.git mac80211: don't call bss_info_changed on p2p-device/monitor Since the idle decision rework, mac80211 started calling bss_info_changed() for the driver's monitor interface, which causes a crash for iwlwifi, but drivers generally don't expect this to happen. Therefore, avoid it. While at it, also prevent calling it in such cases and only print a warning. For the P2P Device interface the idle will no longer be called (no channel context), so also prevent that and warn on it. Reported-by: Chaitanya Signed-off-by: Johannes Berg --- Reading git-diff-tree failed