diff options
Diffstat (limited to 'drivers/w1/w1_netlink.c')
-rw-r--r-- | drivers/w1/w1_netlink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/w1/w1_netlink.c b/drivers/w1/w1_netlink.c index a94336be7654..f978c7504004 100644 --- a/drivers/w1/w1_netlink.c +++ b/drivers/w1/w1_netlink.c | |||
@@ -197,6 +197,9 @@ static int w1_process_command_master(struct w1_master *dev, struct cn_msg *req_m | |||
197 | case W1_CMD_TOUCH: | 197 | case W1_CMD_TOUCH: |
198 | err = w1_process_command_io(dev, msg, hdr, cmd); | 198 | err = w1_process_command_io(dev, msg, hdr, cmd); |
199 | break; | 199 | break; |
200 | case W1_CMD_RESET: | ||
201 | err = w1_reset_bus(dev); | ||
202 | break; | ||
200 | default: | 203 | default: |
201 | cmd->res = EINVAL; | 204 | cmd->res = EINVAL; |
202 | cn_netlink_send(msg, 0, GFP_KERNEL); | 205 | cn_netlink_send(msg, 0, GFP_KERNEL); |