To delete stale APs:
1. Issue the clear gap-db stale-ap apname <ap-name> lms lms-ip <lms-ip>command to delete a stale entry on a particular managed device.
--OR --
2. Issue the clear gap-db ap-name <apname> command to delete the GAP entries for the AP on the Mobility Master and the current LMS of the AP.
NOTE: The first step will delete stale entries individually from the old managed devices and the second step will remove stale entries for the Mobility Master and the current LMS.