Search Linux Wireless

[PATCH 1/4] hostapd: remove enable/disable calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This isn't really useful since mac80211 always enables the radio
when the interface is brought up.

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

---
 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)

-- 

-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux