What nobody realises
If anyone had a Note7 and backed it up before swapping it for another Samsung phone (such as an S7) restoring the backup onto the new phone also sets the SSID on the S7 to be the same as the default one on the old Note7, which is almost certainly what actually happened here.
The poor guy probably didn't even realise that his phone was even broadcasting an SSID yet alone that it was set to match the Note7's old SSID!