From: Johannes Berg Date: Wed, 15 May 2013 11:08:51 +0000 (+0200) Subject: iwlwifi: mvm: don't store section offset/length in debugfs X-Git-Tag: v3.11-rc1~16^2~103^2^2~42^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60191d99a9a472aef07d9e023f47a2503ae51f00;p=pandora-kernel.git iwlwifi: mvm: don't store section offset/length in debugfs When different images can (soon) be accessed through this file, storing the section offset/length on first access to the file breaks (or needs manual reset). Avoid this by not storing the offset/length values but using them locally in the function only. That way, the correct values are always used. While at it, correct the check that firmware is loaded. Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed