On Tue, Sep 14, 2010 at 08:09:54PM +0530, Ben Greear wrote: > On 09/14/2010 06:46 AM, Vasanthakumar Thiagarajan wrote: > > On Tue, Sep 14, 2010 at 12:53:29AM +0530, Ben Greear wrote: > >> Any suggestions for fixing the bssid mask setting in ath_opmode_init? > >> My change, appears to work because it's set in ath9k_add_interface, even > >> if not in the ath_opmode_init method. > > > > checking for ah->hw in ath_opmode_init() is buggy. bssid mask > > configuration from ath9k_add_interface() may not work well when > > some of the other vifs are in down state, may be this needs to > > be in ath_opmode_init() without that incorrect check. > > It seems we need the ah->hw object to get the list of interfaces, but > ah->hw is NULL in ath_opmode_init. Is there another way to get the > list of interfaces so we can iterate over them to build the ssid mask? common->hw. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html