mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
commitf8cdddb8d6upstream. Don't validate interface combinations on a stopped interface. Otherwise we might end up being able to create a new interface with a certain type, but won't be able to change an existing interface into that type. This also skips some other functions when interface is stopped and changing interface type. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> [Fixes regression introduced by cherry pick of463454b5db] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>