From: Johannes Berg Date: Thu, 8 Nov 2012 13:06:28 +0000 (+0100) Subject: mac80211: don't send null data packet when not associated X-Git-Tag: v3.7-rc6~3^2^2^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f544eea03db4b498942558b882d463ce575c3e;p=pandora-kernel.git mac80211: don't send null data packet when not associated On resume or firmware recovery, mac80211 sends a null data packet to see if the AP is still around and hasn't disconnected us. However, it always does this even if it wasn't even connected before, leading to a warning in the new channel context code. Fix this by checking that it's associated. Cc: stable@vger.kernel.org Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed