On Thu, May 6, 2021 at 11:19 AM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > > On Thu, 2021-05-06 at 11:05 -0700, Weilun Du wrote: > > This fixed the crash when setting channels to 2 or more when > > communicating over virtio. > > Interesting, I thought I was probably the only user of virtio? :) > > johannes > Hi Johannes, Actually, Android Emulator uses mac80211_hwsim for wifi simulation over virtio and it's working. This patch fixed the crash when we set channels=2 to speed up scanning. I am trying to see if it makes sense to upstream this patch since it's not Android-specific. Thanks!