staging: vt6556: vnt_rf_setpower convert to use ieee80211_channel.
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 6 Apr 2020 19:31:16 +0000 (20:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 12:53:21 +0000 (14:53 +0200)
commit463288b98190d55d0610aef28582480b44a58657
tree5dd70be05df21d9a02228f7610d007cad7f63a0f
parenta6a002fd8934806ce89c96ea697803cda8ba944f
staging: vt6556: vnt_rf_setpower convert to use ieee80211_channel.

ieee80211_channel contains all the necessary information to change
power according to tx mode required.

vnt_rf_setpower is moved and so that vnt_rf_set_txpower the only
caller becomes static.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link: https://lore.kernel.org/r/9eab9af8-fde9-1dc6-fced-95c7a36ecc01@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c
drivers/staging/vt6656/rf.c
drivers/staging/vt6656/rf.h
drivers/staging/vt6656/wcmd.c