]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ath6kl: Do not enable Probe Request reporting by default
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 1 Sep 2011 08:33:20 +0000 (11:33 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 1 Sep 2011 09:12:23 +0000 (12:12 +0300)
Probe Request reporting will be needed for P2P and WPS, but some
firmware builds do not seem to like this when P2P is not enabled.
Since we do not yet enable P2P, the safest option here is to just
remove this call for now and bring it back as a more dynamic version
once ath6kl starts advertising support for P2P.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/init.c

index f348357279a16dd7a956332e709eceb41948f196..96953be5cd7324d6c1f87a41aeed69963be86de5 100644 (file)
@@ -473,13 +473,6 @@ static int ath6kl_target_config_wlan_params(struct ath6kl *ar)
                           ret);
        }
 
-       /* Enable Probe Request reporting for P2P */
-       ret = ath6kl_wmi_probe_report_req_cmd(ar->wmi, true);
-       if (ret) {
-               ath6kl_dbg(ATH6KL_DBG_TRC, "failed to enable Probe Request "
-                          "reporting (%d)\n", ret);
-       }
-
        return status;
 }