Skip to content
Commit f572dc96 authored by Dan Carpenter's avatar Dan Carpenter Committed by Felix Fietkau
Browse files

mt76: mt7915: fix endian bug in mt7915_rf_regval_set()

This code is supposed to set a u32 value, but casting will not work on
big endian systems.

Fixes: 0a17329a

 ("mt76: mt7915: add debugfs knob for RF registers read/write")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent cffd9341
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment