OSDN Git Service

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)
commite9a3846afaa4d2d44f33a6aa2dd919e481be599e
tree71f49cd0c0d90db4e887f69d9d3a84ec00512879
parente251a882c0bae39d3d31efe993e977104605a9b3
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