From: Bjørn Mork <bjorn@xxxxxxx> Date: Sat, 8 Feb 2020 15:50:36 +0100 > Commit f25e1392fdb5 removed the support for the pre-production variant > of the Dell DW5821e to avoid probing another USB interface unnecessarily. > However, the pre-production samples are found in the wild, and this lack > of support is causing problems for users of such samples. It is therefore > necessary to support both variants. > > Matching on both interfaces 0 and 1 is not expected to cause any problem > with either variant, as only the QMI function will be probed successfully > on either. Interface 1 will be rejected based on the HID class for the > production variant: ... > And interface 0 will be rejected based on too few endpoints for the > pre-production variant: ... > Fixes: f25e1392fdb5 ("qmi_wwan: fix interface number for DW5821e production firmware") > Link: https://whrl.pl/Rf0vNk > Reported-by: Lars Melin <larsm17@xxxxxxxxx> > Cc: Aleksander Morgado <aleksander@xxxxxxxxxxxxx> > Signed-off-by: Bjørn Mork <bjorn@xxxxxxx> Applied and queued up for -stable.