mesh: Use a separate variable to track whether HT is enabled