iwlwifi: move get pnvm file name to a separate function

Move code that generates the pnvm file name to a separate function,
so that it can be reused.

type=feature
ticket=none

Change-Id: I3652584755b9ab44909ddcd09ff4d80c6690a1ad
Signed-off-by: Dror Moshe <drorx.moshe@intel.com>
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/314908
automatic-review: ec ger unix iil jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Tested-by: ec ger unix iil jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
x-iwlwifi-stack-dev: 745e64f60e7f8cdf1bea85d5facb134539a0981a
3 files changed