I have the exact same problem. My Samsung suffered from the horrible firmware problem reported for months and months now. After doing everything suggested on the many threads about similar problems, including a factory reset, eventually we got it fixed. Or so it seemed.
Now, it cycles through the same BS every single time it's turned on. It hangs for a while not responding to the smarthub button, then reboots, turning off then on, on its own. Then it hangs again, telling me it's updating if the smarthub button is pressed, which takes anywhere from 1 to 15 minutes!!! Then it reboots itself again, and THEN goes to the smarthub when the button is pressed.
It does this every time, without fail, occasionally going through that whole cycle again one time more before we can actually use the TV.
This is well past asinine, and I honestly want to jump onto some sort of class action lawsuit at this point. This is very obviously some sort of critical error on Samsung's end, that they are either unwilling or unable to fix.
My wifi card/chip is definitely shot, it's plugged directly into the router with a LAN cable. The firmware is definitely the most recent update, confirmed repeatedly.
But yes, it seems to completely reinstall the entire smarthub update and who knows what else, every...single...time the TV is turned on.