The radio_on variable is defined but never used.
Signed-off-by: Marc Yang <yangyang@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
u8 value[1];
} __packed;
-#define RADIO_ON 0x01
-#define RADIO_OFF 0x00
-
struct mwifiex_rate_scope {
__le16 type;
__le16 length;
memset(adapter->bcn_buf, 0, sizeof(adapter->bcn_buf));
adapter->bcn_buf_end = adapter->bcn_buf;
- adapter->radio_on = RADIO_ON;
adapter->multiple_dtim = 1;
adapter->local_listen_interval = 0; /* default value in firmware
u32 bss_chan;
u32 region_code;
u32 media_connected;
- u32 radio_on;
u32 max_power_level;
u32 min_power_level;
u32 adhoc_state;
u16 curr_tx_buf_size;
u32 ioport;
enum MWIFIEX_HARDWARE_STATUS hw_status;
- u16 radio_on;
u16 number_of_antenna;
u32 fw_cap_info;
/* spin lock for interrupt handling */
/* Connection status */
info->media_connected = priv->media_connected;
- /* Radio status */
- info->radio_on = adapter->radio_on;
-
/* Tx power information */
info->max_power_level = priv->max_tx_power_level;
info->min_power_level = priv->min_tx_power_level;