From: Kalle Valo Date: Fri, 5 Jul 2013 10:03:28 +0300 Subject: [ath9k-devel] [PATCH v3 6/9] ath10k: move free_vdev_map initialization In-Reply-To: <1372147152-26799-7-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Tue, 25 Jun 2013 09:59:09 +0200") References: <1371041642-20273-1-git-send-email-michal.kazior@tieto.com> <1372147152-26799-1-git-send-email-michal.kazior@tieto.com> <1372147152-26799-7-git-send-email-michal.kazior@tieto.com> Message-ID: <87r4fdh4jj.fsf@kamboji.qca.qualcomm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Michal Kazior writes: > This is necessary for hw reconfiguration to work. > Since mac80211 is not calling remove_interface() > is such case we must reset free_vdev_map. > > Signed-off-by: Michal Kazior [...] > - ar->free_vdev_map = 0xFF; /* 8 vdevs */ [...] > + ar->free_vdev_map = (1 << TARGET_NUM_VDEVS) - 1; As you do more than just move the initialisation you should also mention that in the commit log. -- Kalle Valo