Merge "Don't log errors if the receive thread is stopped." into m-wireless-dev
This commit is contained in:
committed by
Android Partner Code Review
commit
5d16c59af7
@@ -330,8 +330,10 @@ public class DhcpClient extends BaseDhcpStateMachine {
|
||||
maybeLog("Received packet: " + packet);
|
||||
sendMessage(CMD_RECEIVED_PACKET, packet);
|
||||
}
|
||||
} catch(IOException|ErrnoException e) {
|
||||
Log.e(TAG, "Read error", e);
|
||||
} catch (IOException|ErrnoException e) {
|
||||
if (!stopped) {
|
||||
Log.e(TAG, "Read error", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
maybeLog("Stopping receive thread");
|
||||
|
||||
Reference in New Issue
Block a user