Recently, Wireless Local Area Networks (WLANs) have increased popularity around the world, because users can easily access to the Internet through associations with access points (APs), using mobile devices like smart phones, tablets, and laptops. In a WLAN network, it is common that the number of users is always changing by time and they are not evenly distributed in the field. To optimize the number of active APs and the host associations in the network depending on traffic demands from users, previously, we proposed the AP configuration algorithm for the elastic WLAN system. Unfortunately, this algorithm can find the solution for the fixed user state in the network, although it is usual that users repeat joining and leaving the network. In this paper, we propose the extension of the AP configuration algorithm to deal with this dynamic nature of the WLAN network. Here, it is considered that at most one host may join or leave at the same time, and any communicating AP cannot be suspended and any communicating host cannot change its associated AP. Through numerical experiments using the WIMNET simulator in two network instances, the effectiveness of the proposal is demonstrated.