summaryrefslogtreecommitdiffstats
path: root/sys/dev/iwn
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2010-11-06 18:17:20 +0000
committerbschmidt <bschmidt@FreeBSD.org>2010-11-06 18:17:20 +0000
commit5fd0b74a4c9151f623761f2b995f59a8e38f320e (patch)
treef42f8a30c64758aa2079a7c3a4a5e7918cc53978 /sys/dev/iwn
parentb57486d5506289777c9643799c4c259be8ed5f5e (diff)
downloadFreeBSD-src-5fd0b74a4c9151f623761f2b995f59a8e38f320e.zip
FreeBSD-src-5fd0b74a4c9151f623761f2b995f59a8e38f320e.tar.gz
Instead of using the AMRR ratectl algo as default for drivers which have
the IEEE80211_C_RATECTL flag set, default to NONE for all drivers. Only if a driver calls ieee80211_ratectl_init() check if the NONE algo is still selected and try to use AMRR in that case. Drivers are still free to use any other algo by calling ieee80211_ratectl_set() prior to the ieee80211_ratectl_init() call. After this change it is now safe to assume that a ratectl algo is always available and selected, which renders the IEEE80211_C_RATECTL flag pretty much useless. Therefore revert r211314 and 211546. Reviewed by: rpaulo MFC after: 2 weeks
Diffstat (limited to 'sys/dev/iwn')
-rw-r--r--sys/dev/iwn/if_iwn.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c
index e5fa6d6..1d58ef8 100644
--- a/sys/dev/iwn/if_iwn.c
+++ b/sys/dev/iwn/if_iwn.c
@@ -584,7 +584,6 @@ iwn_attach(device_t dev)
| IEEE80211_C_IBSS /* ibss/adhoc mode */
#endif
| IEEE80211_C_WME /* WME */
- | IEEE80211_C_RATECTL /* use ratectl */
;
#if 0 /* HT */
/* XXX disable until HT channel setup works */
OpenPOWER on IntegriCloud