]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: use get_random_mask_addr() helper
authorGanapathi Bhat <gbhat@marvell.com>
Mon, 18 Sep 2017 07:42:17 +0000 (13:12 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 20 Sep 2017 12:48:34 +0000 (15:48 +0300)
commitfc31b55ba84d8ab0f130612c6009ce0d7423c80a
tree71f49cd0c0d90db4e887f69d9d3a84ec00512879
parente1b64c91bf0badbc0ae05e514a2ef4b0c3cd9b30
mwifiex: use get_random_mask_addr() helper

Avoid calculating random MAC address in driver. Instead make
use of 'get_random_mask_addr()' function.

Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c