From: Johannes Berg Date: Fri, 22 Jan 2010 21:07:59 +0000 (+0100) Subject: mac80211: add missing key check X-Git-Tag: v2.6.34-rc1~233^2~421^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f12553ebe045a8a40ab33fa500fb57d10706e226;p=pandora-kernel.git mac80211: add missing key check ieee80211_tx_h_select_key might decide that a frame need not be encrypted at all, in which case it will clear tx->key. In that case it may crash if a key was previously selected, e.g. as the default key. This is also due to my patch "mac80211: move control.hw_key assignment". Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed