qca-swiss-army-knife: add 'ath9k_get_p_columns' helper

The number of the columns to be printed is computed in
two different function. Add a helper function for that
and remove the duplicated code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
1 file changed
tree: 324ade479dbea46ff3908a82a1aba47790f7aa9b
  1. tools/
  2. .gitignore
  3. LICENSE
  4. README