Still inexcusable, especially as an educator. Here's what I would of done:
"Oh you can't connect to the internet? Watch this. See the little icon at the top that looks like ripples going up? This one? That's the hub for any wireless networking connection - just click it and pick an option. Each of those options is a network to connect to. The ones with little locks next to them means you need a password to connect. If you're ever having internet problems on your laptop, just check this icon out and see if you're connected." Then fix the situation for them. You still offered a solution, and they'll probably never come to you for help with that again - and whenever they hear a friend, they'll repeat it. It's really not complicated to explain AND fix the problem at the same time.