]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Mar 2021 15:34:29 +0000 (16:34 +0100)
commit1735f75ada2ce7f671c33211a90eae89030f644d
tree96bb96a8b46fab4949dae1e6044ca81fd2ffe6b3
parente37189da53b0d8eb15832282dae3af8b11fb970e
net: usb: qmi_wwan: allow qmimux add/del with master up

commit 6c59cff38e66584ae3ac6c2f0cbd8d039c710ba7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/qmi_wwan.c