From a543eeb0aa5b775eced7ca5f85aaa20a2d243065 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 7 Feb 2012 15:45:56 +0000
Subject: [PATCH] broadcom-wl: turn on wmm by default, disabling it by default
 makes no sense, and without it 802.11n does not work (fixes #10918)

SVN-Revision: 30362
---
 package/broadcom-wl/files/lib/wifi/broadcom.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index 0f639e1bc1..57e11e4b14 100644
--- a/package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -133,7 +133,7 @@ enable_broadcom() {
 	config_get hwmode "$device" hwmode
 	local vif_pre_up vif_post_up vif_do_up vif_txpower
 	local doth=0
-	local wmm=0
+	local wmm=1
 
 	_c=0
 	nas="$(which nas)"
@@ -330,7 +330,7 @@ infra $infra
 ${wet:+wet 1}
 802.11d 0
 802.11h ${doth:-0}
-wme ${wmm:-0}
+wme ${wmm:-1}
 rxant ${rxantenna:-3}
 txant ${txantenna:-3}
 fragthresh ${frag:-2346}
-- 
2.30.2