summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-22 18:09:49 +0100
committerFelix Fietkau <nbd@openwrt.org>2015-03-22 18:09:49 +0100
commit20510bd45d70c5b07718e7608d82133883346673 (patch)
tree1ac81766368f6de5f165664773c4b58db59fcebf /device.c
parent1268b8222a3613c2ee36cc7d3006e1989f068a52 (diff)
device: fix default initialization for RPS/XPS
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'device.c')
-rw-r--r--device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/device.c b/device.c
index 3ca867c..24c7fe3 100644
--- a/device.c
+++ b/device.c
@@ -371,6 +371,8 @@ int device_init(struct device *dev, const struct device_type *type, const char *
system_if_clear_state(dev);
device_check_state(dev);
+ dev->settings.rps = true;
+ dev->settings.xps = true;
return 0;
}