Skip to content
Snippets Groups Projects
Commit 7f235df5 authored by Mathias Kresin's avatar Mathias Kresin Committed by John Crispin
Browse files

mac80211: rt2x00: remove eeprom filename dependency from mtd-eeprom


The ralink,mtd-eeprom device tree property doesn't require the
ralink,eeprom property to work.

Rework the error handling and user notification as well. Do not log an
error if the mtd-eeprom parameter isn't used. It could be intentional
and should not scare the user.

Check if the number of bytes read from the mtd devices matches the
requested number of bytes.

In case of an mtd read error, give a hint to the user which partition
was tried to read from.

In case everything is fine, notify the user as well.

Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
parent 2516c057
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment