Browse Source

RDMA/nes: Fix showing wqm_quanta

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

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Roland Dreier 15 years ago
parent
commit
df924f833c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/infiniband/hw/nes/nes.c

+ 1 - 1
drivers/infiniband/hw/nes/nes.c

@@ -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);
 }