On Sat, 2011-03-26 at 18:58 +0100, Mariusz Kozlowski wrote: > This patch moves 'key' dereference after BUG_ON(!key) so that when key is NULL > we will see proper trace instead of oops. > > Signed-off-by: Mariusz Kozlowski <mk@xxxxxxxxxxxx> Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> I guess, not that it matters much since it's extremely unlikely somebody will attemt to misuse this function :-) johannes -- 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