Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df924f83 authored by Roland Dreier's avatar Roland Dreier
Browse files

RDMA/nes: Fix showing wqm_quanta



In nes_show_wqm_quanta(), the wrong value is printed.  Fix this.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 69d51023
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1099,7 +1099,7 @@ static ssize_t nes_show_wqm_quanta(struct device_driver *ddp, char *buf)
		i++;
	}

	return  snprintf(buf, PAGE_SIZE, "0x%X\n", wqm_quanta);
	return  snprintf(buf, PAGE_SIZE, "0x%X\n", wqm_quanta_value);
}