iwlwifi: mvm: use RS macro instead of duplicating the code
authorSara Sharon <sara.sharon@intel.com>
Sun, 15 Oct 2017 10:52:54 +0000 (13:52 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 3 Nov 2017 09:56:07 +0000 (11:56 +0200)
commitb67ce55dbd964f1e80652007bfb83d09c393300d
treec2439f1308e8ade519c0715cd79e45513e621220
parente226fb5affccca98c405de80527180224d93d251
iwlwifi: mvm: use RS macro instead of duplicating the code

There is a macro for converting TX response rate to a
rate scale value, use it.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c