summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-06-12 18:51:10 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-06-14 12:32:18 +0200
commitd4f1a50ca998420e27f904128a8dac5f69c291ed (patch)
tree384e51c869db25ad8c115e480bc3e0b633ad7ab0 /tools/perf/scripts/python
parentcda2e9d7978dadc3f5d56bef69c20e9f9e6cbb97 (diff)
downloadlinux-d4f1a50ca998420e27f904128a8dac5f69c291ed.tar.gz
linux-d4f1a50ca998420e27f904128a8dac5f69c291ed.zip
wifi: iwlwifi: unify checks for HW error values
The hardware, depending on which part fails or times out, returns 0xA5A5A5A. or 0x5A5A5A5. with the lowest 4 bits encoding some further reason/status. However, mostly we don't really need to care about the exact reasons, so unify the checks for this to avoid hardcoding those magic values all over the driver. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230612184434.3e2959741a38.I1c297a53787b87e4e2b8f296c041921338573f4d@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions