There might be several reason behind the brother printer is not connected with the wireless connection. Before start fixing problems, you need to know why it's happening. The error occurs when Windows or Mac sees that the printer is unavailable.
First, try to reboot the printer, if not connected further,
Re-add the printer model from the printer list.
Re-install drivers if required.
May be need to update windows or mac.
Therefore, need to understand, what you are using with your printer.