commit | f12553ebe045a8a40ab33fa500fb57d10706e226 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Fri Jan 22 22:07:59 2010 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Jan 22 16:33:28 2010 -0500 |
tree | 936682b710e2bb6e132a2ec4ecae9c96e64d42ec | |
parent | b92f7d30830a319148df2943b7565989494e5ad1 [diff] |
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 <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>