Clear IPv4 address on tethering teardown.
Test: as follows - built - flashed - booted - runtest frameworks-net passes - wlan0 in STA mode, wlan1 up/down in AP mode no lingering IPv4 mode - USB tethering up/down works - bluetooth tethering yields: 05-18 17:50:49.726 719 756 D TetherController: untetherInterface(bt-pan) 05-18 17:50:49.729 1194 1230 E Tethering: [bt-pan] ERROR Failed to clear IPv4 address on interface bt-pan: java.lang.IllegalStateException: command '224 interface setcfg bt-pan 0.0.0.0 0' failed with '400 224 Failed to clear address (No such device)' which is acceptable (no actual crash, just a log message) Bug: 79905644 Merged-In: Ie898adc4efbb7376f0297abacdfe39c8700f0722 Merged-In: I9eb44eaf4e99fa85fff2909524ee88673bdcf1fd Merged-In: Iaf29788a6692d810f3160e3f21d06b7452ecbaa6 (cherry picked from commit 472276a8) Change-Id: Icb5c4f7971af4715c7662f80194b4c1ce369a135
Loading
Please register or sign in to comment