Alina Friedrichsen wrote: > Hi Sujith! > > > The strange thing is after the ping from peer1 to peer2, the ping from > > peer2 to peer1 works too. The same is if I start tcpdump on peer1. After > > stopping tcpdump it keeps working. Looking... > > I found it. :) > The problem is the following code: > [drivers/net/wireless/ath9k/main.c, ath9k_configure_filter(), line 2399] > > if (changed_flags & FIF_BCN_PRBRESP_PROMISC) { > if (*total_flags & FIF_BCN_PRBRESP_PROMISC) { > memcpy(sc->curbssid, ath_bcast_mac, ETH_ALEN); > sc->curaid = 0; > ath9k_hw_write_associd(sc); > } > } > > On scanning the BSSID is set to the broadcast MAC, but never set back. > > Im not sure how to fix it in the cleanest way. I know to less about the handling of multi interface devices. ath9k people can you help please? > Yep, that is the problem. But that chunk of code (and the bug) has been there forever, so am not sure why it is creating a problem now. And it can be fixed by making use of the scan start/stop mac80211 callbacks. Thanks a lot ! Sujith -- 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