The network equipment business was largely a sideshow back when their phone business was successful. Apple and especially Android outcompeted the phones, so networks is what they have left.
And their networks business is also eaten alive by Samsung, Huawei and ZTE. The only thing saving them and Ericson is EU/Western bans on Chinese tech for security reasons.