diff options
author | Kevin Easton <kevin@guarana.org> | 2019-07-10 13:31:38 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 13:13:57 +0200 |
commit | 27a2b39359f8f95def5ab865013d7faa56f67146 (patch) | |
tree | 8e06e14a4edc0e4f50a442179a995de5ed3dd431 /drivers | |
parent | 9eff1ebe2c90fce4030d1deaef6f1bd433d99eaa (diff) | |
download | linux-stable-27a2b39359f8f95def5ab865013d7faa56f67146.tar.gz linux-stable-27a2b39359f8f95def5ab865013d7faa56f67146.tar.bz2 linux-stable-27a2b39359f8f95def5ab865013d7faa56f67146.zip |
libertas: Add missing sentinel at end of if_usb.c fw_table
[ Upstream commit 764f3f1ecffc434096e0a2b02f1a6cc964a89df6 ]
This sentinel tells the firmware loading process when to stop.
Reported-and-tested-by: syzbot+98156c174c5a2cad9f8f@syzkaller.appspotmail.com
Signed-off-by: Kevin Easton <kevin@guarana.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/marvell/libertas/if_usb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/libertas/if_usb.c b/drivers/net/wireless/marvell/libertas/if_usb.c index f1622f0ff8c9..fe3142d85d1e 100644 --- a/drivers/net/wireless/marvell/libertas/if_usb.c +++ b/drivers/net/wireless/marvell/libertas/if_usb.c @@ -50,7 +50,8 @@ static const struct lbs_fw_table fw_table[] = { { MODEL_8388, "libertas/usb8388_v5.bin", NULL }, { MODEL_8388, "libertas/usb8388.bin", NULL }, { MODEL_8388, "usb8388.bin", NULL }, - { MODEL_8682, "libertas/usb8682.bin", NULL } + { MODEL_8682, "libertas/usb8682.bin", NULL }, + { 0, NULL, NULL } }; static const struct usb_device_id if_usb_table[] = { |