Whether condensation will occur or not is one question , and SN1 or SN2 is another question. Temperature and molar ratios are important factors which have not been mentioned. Considering the probability of intramolecular dehydration to form ethers to be less for secondary ones, because both the substrate and the base would be hindered, substitution by bromine is more plausible after the OH group gets protonated. Here it can be in two ways, first water molec leaves, producing a carbocation which is attacked by bromine, or a concerted mechanism. The concerted mechanism happens to be more fast, because, producing a secondary carbocation need much more energy.