iwlwifi: mvm: don't store section offset/length in debugfs
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 May 2013 11:08:51 +0000 (13:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 21:17:49 +0000 (23:17 +0200)
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 <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found