On Mon, 2008-09-08 at 17:05 +0200, Johannes Berg wrote: > > Can you explain why? Or can anybody else explain why we do this > > difference at all? And how should mesh behave? > > Actually, I do understand the difference now (explanation added below) > and if I'm guessing the problem you're having correctly your patch is > wrong. I think you want something like the patch below (never mind the > fact that it's against scan.c, I'm shuffling code) > if (local->sta_sw_scanning || local->sta_hw_scanning) { > if (local->scan_sdata == sdata) > return 0; > return -EBUSY; > } Then again, ieee80211_sta_start_scan does that check as well, so now I'm confused. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part