HomeFreeBSD

cxgbe(4): Always initialize requested_speed to a valid value.

Description

cxgbe(4): Always initialize requested_speed to a valid value.

This fixes an avoidable EINVAL when the user tries to disable AN after
the port is initialized but l1cfg doesn't have a valid speed to use.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on
Parents
rS331471: MFC 330872:
Branches
Unknown
Tags
Unknown