Kalle Valo says:
[linux-block.git] / net / mac80211 / rc80211_minstrel_ht.c
index f936d6b3f09320c9e4bdf069e1f3316b02af06dd..762346598338d34eba9736a6affab2abece685aa 100644 (file)
@@ -2033,7 +2033,7 @@ static void __init init_sample_table(void)
 
        memset(sample_table, 0xff, sizeof(sample_table));
        for (col = 0; col < SAMPLE_COLUMNS; col++) {
-               prandom_bytes(rnd, sizeof(rnd));
+               get_random_bytes(rnd, sizeof(rnd));
                for (i = 0; i < MCS_GROUP_RATES; i++) {
                        new_idx = (i + rnd[i]) % MCS_GROUP_RATES;
                        while (sample_table[col][new_idx] != 0xff)