projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: use get_random_u32() when possible
[linux-block.git]
/
drivers
/
net
/
wireless
/
microchip
/
wilc1000
/
cfg80211.c
diff --git
a/drivers/net/wireless/microchip/wilc1000/cfg80211.c
b/drivers/net/wireless/microchip/wilc1000/cfg80211.c
index b89047965e78eb5cc24526eead93972b7f096939..9bbfff803357859de5004c797e4ef83e073c50fc 100644
(file)
--- a/
drivers/net/wireless/microchip/wilc1000/cfg80211.c
+++ b/
drivers/net/wireless/microchip/wilc1000/cfg80211.c
@@
-1161,7
+1161,7
@@
static int mgmt_tx(struct wiphy *wiphy,
const u8 *vendor_ie;
int ret = 0;
- *cookie =
p
random_u32();
+ *cookie =
get_
random_u32();
priv->tx_cookie = *cookie;
mgmt = (const struct ieee80211_mgmt *)buf;