]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
mac80211: enable QoS explicitly in AP mode
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 29 Mar 2010 10:18:36 +0000 (12:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:46:38 +0000 (14:46 -0400)
Enable QoS explicitly, when user space AP program will setup a QoS
queues. Currently this is not needed as iwlwifi not work in AP mode
and no other driver implement enable/disable QoS.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c

index c8f520529eec7f603b2ee5c54785dc77ef65b399..a4ca425e4f3f71106e91cb2b015cc30073e34032 100644 (file)
@@ -1136,6 +1136,10 @@ static int ieee80211_set_txq_params(struct wiphy *wiphy,
                return -EINVAL;
        }
 
+       /* enable WMM or activate new settings */
+       local->hw.conf.flags |= IEEE80211_CONF_QOS;
+       drv_config(local, IEEE80211_CONF_CHANGE_QOS);
+
        return 0;
 }