eth::phy::extended_status: fix cap_1000base_x_full() bit position

eth-stats
Astro 2020-07-29 21:29:28 +02:00
parent 27effb6257
commit e408a8b22d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ impl ExtendedStatus {
self.0.get_bit(14) self.0.get_bit(14)
} }
pub fn cap_1000base_x_full(&self) -> bool { pub fn cap_1000base_x_full(&self) -> bool {
self.0.get_bit(12) self.0.get_bit(15)
} }
pub fn get_link(&self) -> Option<Link> { pub fn get_link(&self) -> Option<Link> {