From: Bernhard Michael <michael.bernhard@bfh.ch>
To: linux-wireless@vger.kernel.org
Subject: mac80211 does not delete beacons properly
Date: Fri, 11 Apr 2008 10:32:12 +0200 [thread overview]
Message-ID: <47FF220C.6090109@bfh.ch> (raw)
Hi
I'm playing around with hostapd and observed that deleting the beacon (when hostapd terminates) is not working.
Looking at the kernel code I see the reason:
In function ieee80211_del_beacon (cfg.c) the old beacon (stored in sdata->u.ap.beacon) is removed. After that ieee80211_if_config_beacon is called.
This function (ieee80211_if_config_beacon, main.c) first checks if the driver handles beacon generation itself and therefore needs to be informed. For my card (b43) this is the case. However ieee80211_beacon_get is now called which will fail because the beacon in mac80211 is already removed.
This results in a ENOMEM error message for the caller even though the beacon is 'half' removed.
I don't know how this problem could be handled properly, therefore I post just the problem description :-)
Cheers
Mike
reply other threads:[~2008-04-11 9:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=47FF220C.6090109@bfh.ch \
--to=michael.bernhard@bfh.ch \
--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.