HomeFreeBSD

Fix a bug introduced with r215298; when atphy_reset() is called from

Description

Fix a bug introduced with r215298; when atphy_reset() is called from
atphy_attach() the current media has not been set, yet, leading to a
NULL-dereference in atphy_setmedia().

Submitted by: jkim (initial version)

Details

Provenance
mariusAuthored on Nov 18 2010, 5:58 PM
Parents
rGf0a0ad3b5813: Do not lint code beyond necessity (with apologies to Wiliam of Ockham).
Branches
Unknown
Tags
Unknown

Event Timeline