diff options
Diffstat (limited to 'drivers/net/gianfar_sysfs.c')
-rw-r--r-- | drivers/net/gianfar_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar_sysfs.c b/drivers/net/gianfar_sysfs.c index 3724835d2856..b31c9c8876e6 100644 --- a/drivers/net/gianfar_sysfs.c +++ b/drivers/net/gianfar_sysfs.c | |||
@@ -186,7 +186,7 @@ static ssize_t gfar_set_rx_stash_index(struct device *dev, | |||
186 | temp = gfar_read(®s->attreli); | 186 | temp = gfar_read(®s->attreli); |
187 | temp &= ~ATTRELI_EI_MASK; | 187 | temp &= ~ATTRELI_EI_MASK; |
188 | temp |= ATTRELI_EI(index); | 188 | temp |= ATTRELI_EI(index); |
189 | gfar_write(®s->attreli, flags); | 189 | gfar_write(®s->attreli, temp); |
190 | 190 | ||
191 | out: | 191 | out: |
192 | unlock_rx_qs(priv); | 192 | unlock_rx_qs(priv); |