mt7601u: move mt7601u_set_macaddr in mac related code
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Thu, 8 Feb 2018 22:08:08 +0000 (23:08 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Feb 2018 14:56:05 +0000 (16:56 +0200)
commite96826bde3db15d37ebb7905c24a071d457e9132
treed6b706f02a520ee15b1d4a94a54d79bfca89c5af
parent09e93f28aa8d37a07d0c2ad742d085a21d845cda
mt7601u: move mt7601u_set_macaddr in mac related code

Remove static qualifier from mt7601u_set_macaddr routine and move it
in mac related code in order to be used to properly support vif with
different mac address respect to the default one

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt7601u/eeprom.c
drivers/net/wireless/mediatek/mt7601u/mac.c
drivers/net/wireless/mediatek/mt7601u/mac.h