diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-03-15 20:51:49 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-09 16:05:59 -0400 |
commit | 958a4a862f41eee27091b726de7ffa08c8488ce9 (patch) | |
tree | 675f958acdc7bf21cc774fd299b6d50b3819e031 /drivers/net/wireless/mwifiex/sta_event.c | |
parent | f85aae6bec67075b6f19f14adfced6f1eb9061b9 (diff) | |
download | op-kernel-dev-958a4a862f41eee27091b726de7ffa08c8488ce9.zip op-kernel-dev-958a4a862f41eee27091b726de7ffa08c8488ce9.tar.gz |
mwifiex: remove redundant signal handling code
1) The wrapper function mwifiex_get_signal_info() is unnecessary.
2) As noise and signal vaules in private structure already get
modified, we don't need to explicitly pass
"struct mwifiex_ds_get_signal" to get it filled.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/sta_event.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/sta_event.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/sta_event.c b/drivers/net/wireless/mwifiex/sta_event.c index cc531b5..33b311c 100644 --- a/drivers/net/wireless/mwifiex/sta_event.c +++ b/drivers/net/wireless/mwifiex/sta_event.c @@ -128,9 +128,6 @@ mwifiex_reset_connect_state(struct mwifiex_private *priv) mwifiex_stop_net_dev_queue(priv->netdev, adapter); if (netif_carrier_ok(priv->netdev)) netif_carrier_off(priv->netdev); - /* Reset wireless stats signal info */ - priv->qual_level = 0; - priv->qual_noise = 0; } /* |