Commit 764f3f1e authored by Kevin Easton's avatar Kevin Easton Committed by Kalle Valo

libertas: Add missing sentinel at end of if_usb.c fw_table

This sentinel tells the firmware loading process when to stop.

Reported-and-tested-by: syzbot+98156c174c5a2cad9f8f@syzkaller.appspotmail.com
Signed-off-by: default avatarKevin Easton <kevin@guarana.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 5ff29d83
......@@ -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[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment