OSDN Git Service

iwlwifi: mvm: don't NUL-terminate low-latency debugfs file
authorJohannes Berg <johannes.berg@intel.com>
Wed, 26 Aug 2015 10:22:12 +0000 (12:22 +0200)
committerLuciano Coelho <luciano.coelho@intel.com>
Fri, 28 Aug 2015 10:26:35 +0000 (13:26 +0300)
commitcfe417bc47ba8f470941a1b8ad60911e163f1b34
treee26ac6578589499ef8a75f34a88cb26f2c40a616
parentcf8c3cff3fcce966c6d31001c09c92778f961eea
iwlwifi: mvm: don't NUL-terminate low-latency debugfs file

There's obviously no reason to write a NUL-terminating byte into
the debugfs file. Apparently nobody tried to use this from a tool
that doesn't strip NUL bytes though, so we never noticed. Fix it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/debugfs-vif.c