No. A HOST’S subnet mask will not affect where a router sends packets. A host’s mask is only relevant to the host itself.
The mask is how the host determines whether ANOTHER HOST is on the SAME SUBNET (so it will try to communicate with it DIRECTLY) or on a DIFFERENT SUBNET (so it will try to communicate with it via its “Default Gateway.”)
If a host’s mask is set “too Big,” which is what is being described here, then it could make the Hub think that another host is on the SAME subnet, when in fact, it’s on a different subnet.
But like I said, unless you have MULTIPLE subnets in that range within your home network, you’ll be OK.
There’s very little risk of it not working with something out on the internet, because the IP range you’re using isn’t allowed on the internet anyway.