treewide: use get_random_u32() when possible
[linux-block.git] / drivers / net / wireless / microchip / wilc1000 / cfg80211.c
index b89047965e78eb5cc24526eead93972b7f096939..9bbfff803357859de5004c797e4ef83e073c50fc 100644 (file)
@@ -1161,7 +1161,7 @@ static int mgmt_tx(struct wiphy *wiphy,
        const u8 *vendor_ie;
        int ret = 0;
 
-       *cookie = prandom_u32();
+       *cookie = get_random_u32();
        priv->tx_cookie = *cookie;
        mgmt = (const struct ieee80211_mgmt *)buf;