| commit | 6c83504ff24f4a6bf28ad865e7c0619b17349e08 | [log] [tgz] |
|---|---|---|
| author | Stephen Hemminger <shemminger@vyatta.com> | Wed Jun 17 07:30:35 2009 +0000 |
| committer | David S. Miller <davem@davemloft.net> | Wed Jun 17 18:46:51 2009 -0700 |
| tree | 1c1ff9bd9a2d857b9b5a488b80b839236c9ae07b | |
| parent | 1fd82f3cafa8e7854db08eccbdb8a9218225e1ef [diff] |
sky2: fix shutdown synchronization
The logic in sky2_down was incorrect. Receiver could report status
after rx_stop was called.
The steps need to be:
* stop new frames from being transmitted
* shut off transmit/receive logic
* synchronize with NAPI to process status info about transmitter
and receiver
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>