It isn't just Yosemite... I had exactly this behavior with Mavericks on a new MacBook last year. Fired up a Bluetooth mouse, and next time I opened the lid wireless had completely gone.
I've managed to get it working after a fashion, although not reliably, and have come to the conclusion that Apple just don't do wireless well.
I've managed to get it working after a fashion, although not reliably, and have come to the conclusion that Apple just don't do wireless well.