]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: qmi_wwan: allow qmimux add/del with master up
authorDaniele Palmas <dnlplm@gmail.com>
Thu, 4 Mar 2021 13:15:13 +0000 (14:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Mar 2021 22:20:21 +0000 (14:20 -0800)
commitf8bb73bef7b8287edec39d92ce41e07c5b401bef
tree8577e875a8602fd31b3869f32abf581831b2e899
parente561e0bdb2e4ced67b6808f47a844e313c26f118
net: usb: qmi_wwan: allow qmimux add/del with master up

There's no reason for preventing the creation and removal
of qmimux network interfaces when the underlying interface
is up.

This makes qmi_wwan mux implementation more similar to the
rmnet one, simplifying userspace management of the same
logical interfaces.

Fixes: f5109742dba0 ("net: usb: qmi_wwan: add qmap mux protocol support")
Reported-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c