From: Johannes Berg <johannes@sipsolutions.net>
To: Jouni Malinen <j@w1.fi>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: [PATCH 1/4] hostapd: remove enable/disable calls
Date: Tue, 14 Aug 2007 11:32:55 +0200 [thread overview]
Message-ID: <20070814093408.541566000@sipsolutions.net> (raw)
In-Reply-To: 20070814093254.021041000@sipsolutions.net
This isn't really useful since mac80211 always enables the radio
when the interface is brought up.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
hostapd/driver_devicescape.c | 6 ------
1 file changed, 6 deletions(-)
--- hostap.orig/hostapd/driver_devicescape.c 2007-08-14 11:32:34.000000000 +0200
+++ hostap/hostapd/driver_devicescape.c 2007-08-14 11:32:34.000000000 +0200
@@ -2075,9 +2075,6 @@ static void * i802_init(struct hostapd_d
if (i802_init_sockets(drv))
goto failed;
- /* Enable the radio by default. */
- (void) hostap_ioctl_prism2param(drv, PRISM2_PARAM_RADIO_ENABLED, 1);
-
return drv;
failed:
@@ -2091,9 +2088,6 @@ static void i802_deinit(void *priv)
struct i802_driver_data *drv = priv;
struct nl_msg *msg;
- /* Disable the radio. */
- (void) hostap_ioctl_prism2param(drv, PRISM2_PARAM_RADIO_ENABLED, 0);
-
(void) hostapd_set_iface_flags(drv, 0);
if (drv->ioctl_sock >= 0)
--
next prev parent reply other threads:[~2007-08-14 11:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 9:32 [PATCH 0/4] hostapd cleanups Johannes Berg
2007-08-14 9:32 ` Johannes Berg [this message]
2007-08-15 3:49 ` [PATCH 1/4] hostapd: remove enable/disable calls Jouni Malinen
2007-08-14 9:32 ` [PATCH 2/4] hostapd: use SIOCSIWGENIE Johannes Berg
2007-08-15 3:51 ` Jouni Malinen
2007-08-14 9:32 ` [PATCH 3/4] hostapd: use nl80211 for add/remove iface Johannes Berg
2007-08-14 9:32 ` [PATCH 4/4] hostapd: remove PRISM2_PARAM_NEXT_MODE Johannes Berg
2007-08-15 2:41 ` Jouni Malinen
2007-08-15 7:29 ` Tomas Winkler
2007-08-15 10:56 ` Johannes Berg
2007-08-15 10:44 ` Johannes Berg
2007-08-16 1:38 ` Jouni Malinen
2007-08-16 13:22 ` Johannes Berg
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=20070814093408.541566000@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=j@w1.fi \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).