Add debug info for Ap mode issue

in some conditions, ap mode was not correctly entered.

Signed-off-by: Jianmin Zhou <toandrew@infthink.com>