diff options
author | Chris Morgan <macromorgan@hotmail.com> | 2023-12-08 09:07:39 -0600 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-12-12 17:34:41 +0200 |
commit | 0a999d82b782b55626e370ae2006dd51b48923ee (patch) | |
tree | 85fc5f63118af25ad584ede9decd17d0edbcf1cb /drivers/net/wireless/intel/iwlegacy/common.c | |
parent | fe0a7776d4d19e613bb8dd80fe2d78ae49e8b49d (diff) |
wifi: rtw88: Use random MAC when efuse MAC invalid
When the MAC address read from the efuse data is invalid, warn the
user and use a random MAC address instead.
On a device I am currently using (Anbernic RG-ARC) with a rtw8821cs
the efuse appears to be incompletely/improperly programmed. The MAC
address reads as ff:ff:ff:ff:ff:ff. When networkmanager attempts to
initiate a connection (and I haven't hard-coded a MAC address or
set it to random) it fails to establish a connection.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231208150739.129753-1-macroalpha82@gmail.com
Diffstat (limited to 'drivers/net/wireless/intel/iwlegacy/common.c')
0 files changed, 0 insertions, 0 deletions