Adding a printk before that line shows: status->rate_idx = 255, sband->n_bitrates = 12
...
While rxs.rate_idx has type int, the rate_idx array has type u8. Perhaps it should be s8, or the value of 255 should be handled specially if valid indices can exceed 127. This patch is compile-tested only. I'm leaving it overnight for testing.
Oh well, I still get the same badness: status->rate_idx = -1, sband->n_bitrates = 12 Not much better. -- Regards, Pavel Roskin -- 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