Search Linux Wireless

[PATCH 4/4] hostapd: remove PRISM2_PARAM_NEXT_MODE

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

 



802.11 A is easily distinguishable based on frequency, and the difference
between 802.11B/G isn't really done well in mac80211 with most 802.11G
drivers supporting only 802.11G channels and no B channels

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

---
What reason is there anyway for distinguishing between an 802.11G and an
802.11B channel? Regulatory? In that case, well, needs lots of work.

 hostapd/driver_devicescape.c |   14 --------------
 1 file changed, 14 deletions(-)

--- hostap.orig/hostapd/driver_devicescape.c	2007-08-14 11:32:35.000000000 +0200
+++ hostap/hostapd/driver_devicescape.c	2007-08-14 11:32:36.000000000 +0200
@@ -367,20 +367,6 @@ static int i802_set_freq(void *priv, int
 	struct i802_driver_data *drv = priv;
 	struct iwreq iwr;
 
-	switch (mode) {
-	case HOSTAPD_MODE_IEEE80211A:
-		mode = MODE_IEEE80211A;
-		break;
-	case HOSTAPD_MODE_IEEE80211B:
-		mode = MODE_IEEE80211B;
-		break;
-	case HOSTAPD_MODE_IEEE80211G:
-		mode = MODE_IEEE80211G;
-		break;
-	}
-
-	hostap_ioctl_prism2param(drv, PRISM2_PARAM_NEXT_MODE, mode);
-
 	memset(&iwr, 0, sizeof(iwr));
 	os_strlcpy(iwr.ifr_name, drv->hapd->conf->iface, IFNAMSIZ);
 	iwr.u.freq.m = freq;

-- 

-
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