From: Johannes Berg Date: Mon, 7 Jun 2010 19:50:07 +0000 (+0200) Subject: mac80211: fix deauth before assoc X-Git-Tag: v2.6.35-rc3~15^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b054b747a694927879c94dd11af54d04346aed7d;p=pandora-kernel.git mac80211: fix deauth before assoc When we receive a deauthentication frame before having successfully associated, we neither print a message nor abort assocation. The former makes it hard to debug, while the latter later causes a warning in cfg80211 when, as will typically be the case, association timed out. This warning was reported by many, e.g. in https://bugzilla.kernel.org/show_bug.cgi?id=15981, but I couldn't initially pinpoint it. I verified the fix by hacking hostapd to send a deauth frame instead of an association response. Cc: stable@kernel.org Signed-off-by: Johannes Berg Tested-by: Miles Lane Signed-off-by: John W. Linville --- Reading git-diff-tree failed