All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Chaoxing Lin <CLin@3eti.com>
Cc: "'linux-wireless@vger.kernel.org'" <linux-wireless@vger.kernel.org>
Subject: Re: hostapd hangs on quit, multi-BSSID scenario
Date: Fri, 07 Jan 2011 10:07:10 -0800	[thread overview]
Message-ID: <4D27564E.1030008@candelatech.com> (raw)
In-Reply-To: <BD54DDEB2546894FAB0731EA7B0EDF8D05715D9E@RockMX01.rock.corp>

On 01/07/2011 09:58 AM, Chaoxing Lin wrote:
> 1. I don't know how to use GDB. Consider me entry level developer.

You need to learn how to use gdb..it will be well worth your time
if you plan to ever move beyond entry-level-developer.

Something as simple as:

gdb [hostapd-binary] [pid-of-hostapd-process]

Then inside of gdb:

bt

You might also try 'strace'.

> 2. It should not be related the change I made on ath9k. The reasons are
> 	a. My change is simple, linux/drivers/net/wireless/ath/ath9k/ath9k.h: change ATH_BCBUF from 4 to 12
> 	b. Without my change, driver accepts up to 3 extra BSSID. But hostapd still hangs on quit. Hostapd quits well if there only one extra BSSID.
>
> This problem is 100% reproducible. I guess it would be quite easy for the original hostapd developer to fix it.

Heh, maybe so..but if you want it fixed fast, you might need to put in some
extra debugging effort.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

  reply	other threads:[~2011-01-07 18:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 17:44 hostapd hangs on quit, multi-BSSID scenario Chaoxing Lin
2011-01-07 17:49 ` Ben Greear
2011-01-07 17:58   ` Chaoxing Lin
2011-01-07 18:07     ` Ben Greear [this message]
2011-01-09 17:26 ` Jouni Malinen
2011-01-10 14:51   ` Chaoxing Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D27564E.1030008@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=CLin@3eti.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.