mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-13 14:52:12 -10:00
When5e6e4f7528landed, 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:5e6e4f7528Reviewed by: imp, kbowling, sumit.saxena_broadcom.com Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D61164