]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
brcmfmac: add a check for the status of usb_register
authorKangjie Lu <kjlu@umn.edu>
Wed, 26 Dec 2018 01:22:24 +0000 (19:22 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Jan 2019 11:36:38 +0000 (13:36 +0200)
commit42daad3343be4a4e1ee03e30a5f5cc731dadfef5
tree17c1bf8ddffc095ead466bb12b26bb6f4a7db13f
parent06605b0d38b491c6dc52f4aee3e588e1309fbfaf
brcmfmac: add a check for the status of usb_register

usb_register() may fail, so let's check its status and issue an error
message if it fails.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c