On Sat, Jan 23, 2010 at 1:27 PM, Kalle Valo <kalle.valo@xxxxxx> wrote: > Pavel Roskin reported a crash in ieee80211_tx_h_select_key(): > > http://marc.info/?l=linux-wireless&m=126419655108528&w=2 > > This is a regression from patch "mac80211: move control.hw_key assignment". > Fix it as suggested by Johannes, adding an else statement to make sure > that tx->key is not accessed when it's null. > > Compile-tested only. > > Reported-by: Pavel Roskin <proski@xxxxxxx> > Cc: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kalle.valo@xxxxxx> Tested-by: Bob Copeland <me@xxxxxxxxxxxxxxx> Thanks! -- Bob Copeland %% www.bobcopeland.com -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html