ath10k: document ofdm/5ghz rate offset with a macro
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 30 Mar 2015 06:51:57 +0000 (09:51 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Mar 2015 12:09:56 +0000 (15:09 +0300)
commit8d7aa6bc83b162da0ed5f5ff9a4c305525245efc
treeaf468b4869f1b70fa622028c187007892d03b03c
parent01cebe1c50d43a79de1ee48bd9917c9fbbd3901d
ath10k: document ofdm/5ghz rate offset with a macro

Don't use literal values for offsets. While at it
rename a function so it is more clear what it
checks for.

This finally takes care of the last magic
5GHz/OFDM offset.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c