Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
brcmfmac: fix interface sanity check
Make sure to use the current alternate setting when verifying the interface descriptors to avoid binding to an invalid interface. Failing to do so could cause the driver to misbehave or trigger a WARN() in usb_submit_urb() that kernels with panic_on_warn set would choke on. Fixes: 71bb244 ("brcm80211: fmac: add USB support for bcm43235/6/8 chipsets") Cc: stable <[email protected]> # 3.4 Cc: Arend van Spriel <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
- Loading branch information