Hello,
I suppose you have configured STP correctly since you are saying that it works OK when it is connected by cable. SG300 might not receive BPDU probably through wireless link. Try to debug STP on SG300 to see you get any BPDU message.
debug spanning-tree bpdu receive
Does it cause problem in your headquarter?
Changing the STP timer may help if it receives some BPDU message.