diff options
| author | Shayne Chen <shayne.chen@mediatek.com> | 2019-11-26 21:15:54 +0800 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 10:06:00 +0100 |
| commit | eba571683b40eb1ad982c6ce9b92d15724bc220e (patch) | |
| tree | 8f5f734e6f370341a6f730f304690ebafca225c1 /scripts/basic | |
| parent | mt76: disable bh in mt76_dma_rx_poll (diff) | |
| download | linux-eba571683b40eb1ad982c6ce9b92d15724bc220e.tar.gz linux-eba571683b40eb1ad982c6ce9b92d15724bc220e.zip | |
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>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
