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)
commit6c59cff38e66584ae3ac6c2f0cbd8d039c710ba7
tree8577e875a8602fd31b3869f32abf581831b2e899
parent6a5166e07c029182ee0e15c1a97b08c3179b2aaf
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: c6adf77953bc ("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