commit | eba571683b40eb1ad982c6ce9b92d15724bc220e | [log] [tgz] |
---|---|---|
author | Shayne Chen <shayne.chen@mediatek.com> | Tue Nov 26 21:15:54 2019 +0800 |
committer | Felix Fietkau <nbd@nbd.name> | Fri Feb 14 10:06:00 2020 +0100 |
tree | 8f5f734e6f370341a6f730f304690ebafca225c1 | |
parent | 37a68e001578ed1cd7def6a0666f60d2aade4f26 [diff] |
mt76: fix possible undetected invalid MAC address Make sure the MAC address is checked before function returns. If CONFIG_OF is set and the device node is null, the function will return directly, and an invalid MAC address will not be checked. Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>