summaryrefslogtreecommitdiffstats
path: root/security/apparmor/policy.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-06-11 15:51:33 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-07-07 21:41:08 +0300
commitae969afe43273c9bc8d22629efd9c51627837615 (patch)
tree94cbcba9232e7ff4aae63af1c4292614e5dc4dde /security/apparmor/policy.c
parentbdce40f006dc53bfdeeba4a4ff200d4c0cf5aac8 (diff)
downloadop-kernel-dev-ae969afe43273c9bc8d22629efd9c51627837615.zip
op-kernel-dev-ae969afe43273c9bc8d22629efd9c51627837615.tar.gz
iwlwifi: mvm: rs: don't clear persistent fields
iwl_mvm_rs_rate_init() is called multiple times to re-init the rate scaling statistics (e.g. after some idle time). It clears all the lq_sta sta, including some fields that shouldn't be cleared (e.g. debugfs pointers). Fix it by adding a new 'persistent' sub-struct, and avoid clearing it on (re-)init. Move the initialization of the persistent fields to rs_alloc_sta instead. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'security/apparmor/policy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud