]> 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)
commit99d268e7f4d97a2bcf9305b6183ef0f744250957
tree8577e875a8602fd31b3869f32abf581831b2e899
parent11a88baeda76ca73ea033d8e2bcb11eb0b384c6e
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: 7d658ac221a0 ("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