You'll be fine. Ethernet spec allows up to four hubs daisy chained together.
You'll either need an ethernet crossover cable, or make sure one the the hubs has an "uplink" port. This juts flips the send and recieve pairs on one end so the two similar devices can talk to erach other.