This variable is never set.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
{
int ret = true;
- if (priv->bHWRadioOff == true || priv->bRadioControlOff == true)
+ if (priv->bHWRadioOff == true)
return false;
priv->bRadioOff = false;
int bShortSlotTime;
int bBarkerPreambleMd;
- int bRadioControlOff;
int bRadioOff;
/* Power save */
vnt_mac_reg_bits_on(priv, MAC_REG_GPIOCTL0, 0x01);
- if ((priv->bHWRadioOff == true) ||
- (priv->bRadioControlOff == true)) {
+ if (priv->bHWRadioOff == true) {
vnt_radio_power_off(priv);
} else {
vnt_radio_power_on(priv);