Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de700339 authored by Ajit Vaishya's avatar Ajit Vaishya
Browse files

Disable Blacklist Bssid on zero blacklist timeout

This commit introduce to disable updation of blacklist
BSSID entry to firmware based on Blacklist Timer i.e
blacklist_timeout equal to zero.

Change-Id: I678caedbc3a819758f01dda558513a64a7f336ce
CRs-Fixed: 2678271
parent d47ccd4c
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -6923,10 +6923,15 @@ __wlan_hdd_cfg80211_set_ext_roam_params(struct wiphy *wiphy,
    switch (cmd_type) {
    case QCA_WLAN_VENDOR_ROAMING_SUBCMD_SET_BLACKLIST_BSSID:
         if (blacklist_timeout) {
             ret = hdd_set_blacklist_bssid(hHal, blacklist_timeout,
                       tb_vendor, pAdapter->sessionId);
             if (ret)
                 return ret;
         } else {
             hddLog(LOGE, FL("Timeout is Zero, Bssid Blacklist Not Supported "));
             ret = -EINVAL;
         }
         break;
    default:
         break;