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
[ Upstream commit badb6ff ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
LorenzoBianconi authored and gregkh committed Jun 9, 2022
1 parent 83ebfe4 commit b645549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
Expand Up @@ -87,7 +87,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 b645549

Please sign in to comment.