summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/mvm/bt-coex.c
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2013-08-24 17:35:53 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-10-02 20:00:42 +0400
commit0e9d84ea89a588a6ed7b4e9809cd4a8af0bb6a88 (patch)
treea93dd18de32e6ddeb6e56467cd590d852e2ca6e6 /drivers/net/wireless/iwlwifi/mvm/bt-coex.c
parent6a524f487c61a08ec7552fcf004e8b3fcf6badf0 (diff)
downloadlinux-0e9d84ea89a588a6ed7b4e9809cd4a8af0bb6a88.tar.xz
iwlwifi: mvm: make debugfs write() operations write up to count bytes
Some debugfs write() operations of the MVM Firmware will ignore the count argument, and will copy more bytes than what was specified. Fix this by getting the right count of bytes. This will honor restrictions put on the number of bytes to write and avoid strcmp() calls on garbage data. Signed-off-by: Djalal Harouni <tixxdz@opendz.org> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/bt-coex.c')
0 files changed, 0 insertions, 0 deletions