]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mt7601u: set device mac address in mt7601u_add_interface()
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Thu, 8 Feb 2018 22:08:09 +0000 (23:08 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 28 Feb 2018 14:56:06 +0000 (16:56 +0200)
commit032a552e8dc9d2147e34157bb3b0b23e8f418e43
treebe468b0762d125c01a7d17785b4ec6f630c3f22a
parente96826bde3db15d37ebb7905c24a071d457e9132
mt7601u: set device mac address in mt7601u_add_interface()

If mac80211 adds a vif with a different mac address respect to
the eeprom one, the device will not be able to connect to the ap
since the hw address has not been updated.
Fix the issue updating hw mac address in mt7601u_add_interface routine

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1516935
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt7601u/main.c