diff options
author | 2016-06-13 17:49:37 +0800 | |
---|---|---|
committer | 2016-06-14 22:37:48 -0700 | |
commit | 9d21c0d83ea3def89b9cd33222b1c44c1af44b4d (patch) | |
tree | 75edc64b67ddbf06b29e09dbbdf566dec518323f /net | |
parent | r8152: move the settings of PHY to a work queue (diff) | |
download | wireguard-linux-9d21c0d83ea3def89b9cd33222b1c44c1af44b4d.tar.xz wireguard-linux-9d21c0d83ea3def89b9cd33222b1c44c1af44b4d.zip |
r8152: move the setting for the default speed
Move calling set_speed() from open() to rtl_hw_phy_work_func_t().
Then, we would set the default speed only for first initialization
or after resuming.
Besides, the set_speed() could handle the flag of PHY_RESET which
would be set in rtl_ops.hw_phy_cfg().
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions