Skip to content

Commit

Permalink
mt76: mt7915: do not pass data pointer to mt7915_mcu_muru_debug_set
Browse files Browse the repository at this point in the history
Fix typo in mt7915_muru_debug_set routine and pass muru_debug value to
mt7915_mcu_muru_debug_set() instead of data pointer.

Fixes: 1966a50 ("mt76: mt7915: add mu-mimo and ofdma debugfs knobs")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
Lorenzo Bianconi authored and Felix Fietkau committed May 13, 2022
1 parent 62fdc97 commit badb6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ mt7915_muru_debug_set(void *data, u64 val)
struct mt7915_dev *dev = data;

dev->muru_debug = val;
mt7915_mcu_muru_debug_set(dev, data);
mt7915_mcu_muru_debug_set(dev, dev->muru_debug);

return 0;
}
Expand Down

0 comments on commit badb6ff

Please sign in to comment.