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

Commit 7005c760 authored by Yeshwanth Sriram Guntuka's avatar Yeshwanth Sriram Guntuka Committed by Gerrit - the friendly Code Review server
Browse files

wlan: Disable WMM inactivity timer on Del Tspec

Inactivity timer is started on successful ADDTS triggered
via iw command. This timer is not stopped and destroyed if
AP sends DELTS. If another ADDTS is triggered via iw command,
the timer will be started again and since the same timer is
being added to timer list, kernel panic occurs.

Fix is to disable WMM inactivity timer on DELTS triggered by
AP.

Change-Id: I51c450dcef8ba39bb3bf4ca01eb25049878ae22e
CRs-Fixed: 2398628
parent 88566218
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -936,6 +936,9 @@ static eHalStatus hdd_wmm_sme_callback (tHalHandle hHal,
         hdd_wmm_notify_app(pQosContext);
      }

#ifdef FEATURE_WLAN_ESE
      hdd_wmm_disable_inactivity_timer(pQosContext);
#endif
      /* Setting up QoS Failed, QoS context can be released.
       * SME is releasing this flow information and if HDD doen't release this context,
       * next time if application uses the same handle to set-up QoS, HDD (as it has
@@ -1173,6 +1176,9 @@ static eHalStatus hdd_wmm_sme_callback (tHalHandle hHal,
         hdd_wmm_notify_app(pQosContext);
      }

#ifdef FEATURE_WLAN_ESE
      hdd_wmm_disable_inactivity_timer(pQosContext);
#endif
      // we are done with this flow
      hdd_wmm_free_context(pQosContext);
      break;
@@ -1224,6 +1230,9 @@ static eHalStatus hdd_wmm_sme_callback (tHalHandle hHal,
         hdd_wmm_notify_app(pQosContext);
      }

#ifdef FEATURE_WLAN_ESE
      hdd_wmm_disable_inactivity_timer(pQosContext);
#endif
      // we are done with this flow
      hdd_wmm_free_context(pQosContext);
      break;