Commit 1b622bd5 authored by Stanislaw Gruszka's avatar Stanislaw Gruszka Committed by Kalle Valo

mt76x0: perform mt76x0_mac_set_ampdu_factor

Remove return added accidentally in mt76x0_mac_set_ampdu_factor.
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: a7744349 ("mt76x0: mac files")
Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 5dc5bf28
......@@ -424,8 +424,6 @@ void mt76x0_mac_set_ampdu_factor(struct mt76x0_dev *dev)
u8 min_factor = 3;
int i;
return;
rcu_read_lock();
for (i = 0; i < ARRAY_SIZE(dev->wcid); i++) {
wcid = rcu_dereference(dev->wcid[i]);
......
Markdown is supported
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