iwlwifi: mvm: move U-APSD decision to authentication
authorJohannes Berg <johannes.berg@intel.com>
Thu, 13 Nov 2014 19:53:45 +0000 (20:53 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 22 Jan 2015 15:54:11 +0000 (17:54 +0200)
commitbd1ba664147ae271e592aa90266cf9aba6efe116
tree5f7726e3389327f7cc4b7e90867c186f96c39d57
parent7fe3016f24296ec88100113c9671fa605a71c44e
iwlwifi: mvm: move U-APSD decision to authentication

In order to change the usage of U-APSD on the fly later,
move the enabling condition into a new function that is
called when authenticated.

This allows the module parameter to become writable, it
won't take effect immediately but at least on the next
association the new value will be used.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c