No it's not a glitch it tells you in the description turn on location to use this feature, then it says turn on WiFi scanning, I've done two factory resets since updating to android 12 & it's still greyed out unless it's a software bug. Anyways glad you are sorted now.