mwifiex: p2p: use separate device address
authorXinming Hu <huxm@marvell.com>
Mon, 7 Aug 2017 01:36:06 +0000 (01:36 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 8 Aug 2017 11:49:58 +0000 (14:49 +0300)
commit4ba28f93948df5643c24402c642fb769e09fab73
tree92c5cf967024b79742204c0d7d6fb72c2a17e8c9
parent20e5476d6c30e56e6bc58378ae07a36904776333
mwifiex: p2p: use separate device address

Per below statement about p2p device address in WFA P2P
spec $2.4.3:

The P2P Device Address of a P2P Device shall be its globally
administered MAC address, or its globally administered MAC
address with the locally administered bit set.

This patch follow above statement, using a separate device
address for p2p interface

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c
drivers/net/wireless/marvell/mwifiex/main.c
drivers/net/wireless/marvell/mwifiex/main.h