]> git.baikalelectronics.ru Git - kernel.git/commit
net: qualcomm: rmnet: Allow configuration updates to existing devices
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Wed, 1 Apr 2020 21:23:55 +0000 (15:23 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2020 13:50:04 +0000 (06:50 -0700)
commit8f8849fc302550e44cf00f9e48d6883afc9ac350
treedda8fc122af0ea94f2042d5cda0301de565443b9
parent77d8dde5dd02728efcd0041486483c70952d3de4
net: qualcomm: rmnet: Allow configuration updates to existing devices

This allows the changelink operation to succeed if the mux_id was
specified as an argument. Note that the mux_id must match the
existing mux_id of the rmnet device or should be an unused mux_id.

Fixes: 47ab0fae8961 ("net: rmnet: do not allow to change mux id if mux id is duplicated")
Reported-and-tested-by: Alex Elder <elder@linaro.org>
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c