[PATCH 6.15 185/480] wifi: nl80211: Set num_sub_specs before looping through sub_specs