OSDN Git Service

staging: rtl8192e: _rtl92e_dm_check_edca_turbo remove peername message.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 13 May 2017 16:41:21 +0000 (17:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 11:29:02 +0000 (13:29 +0200)
This kinda reports this as if it was an error message.

Now that bssid is reported at associate remove this piece of code
serves no purpose as there is no code for peers so remove it.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c

index 1a43c68..b8205eb 100644 (file)
@@ -1693,22 +1693,6 @@ static void _rtl92e_dm_check_edca_turbo(struct net_device *dev)
        if (priv->rtllib->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO)
                goto dm_CheckEdcaTurbo_EXIT;
 
-       {
-               u8 *peername[11] = {
-                       "unknown", "realtek_90", "realtek_92se", "broadcom",
-                       "ralink", "atheros", "cisco", "marvell", "92u_softap",
-                       "self_softap"
-               };
-               static int wb_tmp;
-
-               if (wb_tmp == 0) {
-                       netdev_info(dev,
-                                   "%s():iot peer is %s, bssid: %pM\n",
-                                   __func__, peername[pHTInfo->IOTPeer],
-                                   priv->rtllib->current_network.bssid);
-                       wb_tmp = 1;
-               }
-       }
        if (!priv->rtllib->bis_any_nonbepkts) {
                curTxOkCnt = priv->stats.txbytesunicast - lastTxOkCnt;
                curRxOkCnt = priv->stats.rxbytesunicast - lastRxOkCnt;