diff options
author | Nikita Danilov <nikita.danilov@aquantia.com> | 2019-06-04 13:23:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-05 17:39:43 -0700 |
commit | 930b9a0543385d4eb8ef887e88cf84d95a844577 (patch) | |
tree | e37c42aead323997bb588b735f0e01eef561c9b4 /net/core/pktgen.c | |
parent | 0ee4e76937d69128a6a66861ba393ebdc2ffc8a2 (diff) |
net: aquantia: fix wol configuration not applied sometimes
WoL magic packet configuration sometimes does not work due to
couple of leakages found.
Mainly there was a regression introduced during readx_poll refactoring.
Next, fw request waiting time was too small. Sometimes that
caused sleep proxy config function to return with an error
and to skip WoL configuration.
At last, WoL data were passed to FW from not clean buffer.
That could cause FW to accept garbage as a random configuration data.
Fixes: 6a7f2277313b ("net: aquantia: replace AQ_HW_WAIT_FOR with readx_poll_timeout_atomic")
Signed-off-by: Nikita Danilov <nikita.danilov@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions