Files
Andrew Gallatin 36cd9f2ff3 bnxt: avoid unintialized use of media_type in bnxt_add_media_types()
When 5e6e4f7528 landed, it inadvertently allowed unsupported / unknown
phys with  a valid link_info->sig_mode to use  media_type uninitialized.
Fix this by returning from those cases that do not assign a media_type
so as to avoid using it uninitialized.

Reported by: imp (forwarding an llm's post-commit review of previous
		  changes to this file)
Fixes: 5e6e4f7528
Reviewed by: imp, kbowling,  sumit.saxena_broadcom.com
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D61164
2026-11-04 12:12:14 -05:00
..