Fixed the 10Mbit speed as noticed by Philippe.
Thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40598 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7920b5579c
commit
03683e642c
@ -309,7 +309,8 @@ wb840_control (void* cookie, uint32 op, void* arg, size_t len)
|
||||
state.media = (data->link ? IFM_ACTIVE : 0) | IFM_ETHER
|
||||
| (data->full_duplex ? IFM_FULL_DUPLEX : IFM_HALF_DUPLEX)
|
||||
| (data->speed == LINK_SPEED_100_MBIT ? IFM_100_TX : IFM_10_T);
|
||||
state.speed = data->speed == LINK_SPEED_100_MBIT ? 100000000 : 10000;
|
||||
state.speed = data->speed == LINK_SPEED_100_MBIT
|
||||
? 100000000 : 10000000;
|
||||
state.quality = 1000;
|
||||
|
||||
return user_memcpy(arg, &state, sizeof(ether_link_state_t));
|
||||
|
Loading…
Reference in New Issue
Block a user