<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/net/wireless/bcmdhd, branch gpu-paging</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>bcmdhd: allow room for copying null termination</title>
<updated>2021-01-08T21:54:33+00:00</updated>
<author>
<name>Hans-Christian Noren Egtvedt</name>
<email>hegtvedt@cisco.com</email>
</author>
<published>2019-09-23T12:29:12+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=ec87a1c81263562f33b74bec93ac6332cada81c6'/>
<id>ec87a1c81263562f33b74bec93ac6332cada81c6</id>
<content type='text'>
Can be solved in more elegant ways, but this was the simplest
modification. Also, str_len is in current code much smaller than
BUF_SIZE.

Solves building using GCC &gt;= 8.

Bug 2712282

Change-Id: I615ab3f3f6f20bf131bcb3ec150611f2b56b3e08
Signed-off-by: Jeremy Ho &lt;jeremyh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2282796
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Can be solved in more elegant ways, but this was the simplest
modification. Also, str_len is in current code much smaller than
BUF_SIZE.

Solves building using GCC &gt;= 8.

Bug 2712282

Change-Id: I615ab3f3f6f20bf131bcb3ec150611f2b56b3e08
Signed-off-by: Jeremy Ho &lt;jeremyh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2282796
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcmdhd: use size of destination buffer when calling strncpy()</title>
<updated>2021-01-08T21:54:21+00:00</updated>
<author>
<name>Hans-Christian Noren Egtvedt</name>
<email>hegtvedt@cisco.com</email>
</author>
<published>2019-09-23T12:25:29+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=f5f90a7e632ad1195f8bf0d391027436c5e16191'/>
<id>f5f90a7e632ad1195f8bf0d391027436c5e16191</id>
<content type='text'>
The length argument should always be limited by the destination size to
avoid overflowing destination.

Solves building using GCC &gt;= 8.

Bug 2712282

Change-Id: I05649c0ce198e63d2c36376f683b67f370689629
Signed-off-by: Jeremy Ho &lt;jeremyh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2282794
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The length argument should always be limited by the destination size to
avoid overflowing destination.

Solves building using GCC &gt;= 8.

Bug 2712282

Change-Id: I05649c0ce198e63d2c36376f683b67f370689629
Signed-off-by: Jeremy Ho &lt;jeremyh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2282794
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcmdhd: fix slab-out-of-bounds bug</title>
<updated>2020-10-07T17:40:29+00:00</updated>
<author>
<name>Shobek Sam Attupurath</name>
<email>sattupurath@nvidia.com</email>
</author>
<published>2020-09-25T12:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=b91033aaaca42d7295aa139e396057da305cc2c4'/>
<id>b91033aaaca42d7295aa139e396057da305cc2c4</id>
<content type='text'>
With enabling KASAN, we got a bug about slab-out-of-bounds
in bcm_mkiovar. We should round up the source buffer size
to the word and the length update will take care of using
it in 8-byte words. We used the ROUNDUP() api in the fix.

Bug 3094055

Change-Id: I1801354382a07df2bee34e5a419261199ecf189c
Signed-off-by: Jeremy Ho &lt;jeremyh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2419757
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shobek Attupurath &lt;sattupurath@nvidia.com&gt;
Reviewed-by: Bibhay Ranjan &lt;bibhayr@nvidia.com&gt;
Reviewed-by: Ashutosh Jha &lt;ajha@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With enabling KASAN, we got a bug about slab-out-of-bounds
in bcm_mkiovar. We should round up the source buffer size
to the word and the length update will take care of using
it in 8-byte words. We used the ROUNDUP() api in the fix.

Bug 3094055

Change-Id: I1801354382a07df2bee34e5a419261199ecf189c
Signed-off-by: Jeremy Ho &lt;jeremyh@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2419757
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shobek Attupurath &lt;sattupurath@nvidia.com&gt;
Reviewed-by: Bibhay Ranjan &lt;bibhayr@nvidia.com&gt;
Reviewed-by: Ashutosh Jha &lt;ajha@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: string handling</title>
<updated>2020-05-13T19:40:41+00:00</updated>
<author>
<name>dmitry pervushin</name>
<email>dpervushin@nvidia.com</email>
</author>
<published>2020-05-11T17:30:26+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=f395c71b0997e9b6ed092078a31d76f02dad161e'/>
<id>f395c71b0997e9b6ed092078a31d76f02dad161e</id>
<content type='text'>
gcc9 is more strict about using strncpy... and in many cases it is right
Replacing strncpy with strdup (when possible) or strlcpy

Bug 2973859

Change-Id: I1283db0385d7b35f747d129d3963e8f293e83dc3
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2342280
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gcc9 is more strict about using strncpy... and in many cases it is right
Replacing strncpy with strdup (when possible) or strlcpy

Bug 2973859

Change-Id: I1283db0385d7b35f747d129d3963e8f293e83dc3
Signed-off-by: dmitry pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2342280
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcmdhd: Update wifi power mode based on preference</title>
<updated>2020-02-08T01:38:53+00:00</updated>
<author>
<name>Shobek Attupurath</name>
<email>sattupurath@nvidia.com</email>
</author>
<published>2020-02-06T05:42:40+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=0674f53622cb1a09450a08d17aad3a624e9fe461'/>
<id>0674f53622cb1a09450a08d17aad3a624e9fe461</id>
<content type='text'>
Issue: 1. Station does not need to be in connected state
          to apply preferred power mode
       2. On state change power save mode always gets set to
          power save enabled due to delayed worker that gets
          triggered on state change

Solution: 1. Remove CONNECTED state check to allow setting of
             preferred power save mode
          2. Store preferred power save mode in cfg struct and
             check before scheduling delayed worker

Bug 2781055

Change-Id: Ib3c746b45eff2eb5bbd3703b3026dd54c9013e44
Signed-off-by: Shobek Attupurath &lt;sattupurath@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2290724
Reviewed-by: Nagaraj Annaiah &lt;nannaiah@nvidia.com&gt;
Reviewed-by: Srinivas Ramachandran &lt;srinivasra@nvidia.com&gt;
Reviewed-by: Ashutosh Jha &lt;ajha@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue: 1. Station does not need to be in connected state
          to apply preferred power mode
       2. On state change power save mode always gets set to
          power save enabled due to delayed worker that gets
          triggered on state change

Solution: 1. Remove CONNECTED state check to allow setting of
             preferred power save mode
          2. Store preferred power save mode in cfg struct and
             check before scheduling delayed worker

Bug 2781055

Change-Id: Ib3c746b45eff2eb5bbd3703b3026dd54c9013e44
Signed-off-by: Shobek Attupurath &lt;sattupurath@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2290724
Reviewed-by: Nagaraj Annaiah &lt;nannaiah@nvidia.com&gt;
Reviewed-by: Srinivas Ramachandran &lt;srinivasra@nvidia.com&gt;
Reviewed-by: Ashutosh Jha &lt;ajha@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcmdhd: fix incorrect call of wl_bss_roaming_done</title>
<updated>2019-04-23T15:48:34+00:00</updated>
<author>
<name>Om Prakash Singh</name>
<email>omp@nvidia.com</email>
</author>
<published>2019-04-17T10:50:46+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=3036d56ce99019befc1766072ea1d48b75ebc925'/>
<id>3036d56ce99019befc1766072ea1d48b75ebc925</id>
<content type='text'>
Issue: wl_bss_roaming_done is getting called from wl_notify_connect_status
    even roaming is not enabled. wl_bss_roaming_done call should be only
    due to event from fw WLC_E_ROAM

Fix: remove wl_bss_roaming_done from wl_notify_connect_status

Bug  200509944

Change-Id: Iad47c0f57016b20fce4ed04471b7f84fab237e67
Signed-off-by: Om Prakash Singh &lt;omp@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2099490
Reviewed-by: Mohan Thadikamalla &lt;mohant@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha &lt;ajha@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue: wl_bss_roaming_done is getting called from wl_notify_connect_status
    even roaming is not enabled. wl_bss_roaming_done call should be only
    due to event from fw WLC_E_ROAM

Fix: remove wl_bss_roaming_done from wl_notify_connect_status

Bug  200509944

Change-Id: Iad47c0f57016b20fce4ed04471b7f84fab237e67
Signed-off-by: Om Prakash Singh &lt;omp@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2099490
Reviewed-by: Mohan Thadikamalla &lt;mohant@nvidia.com&gt;
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha &lt;ajha@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcmdhd: Add fix to nv scan done and scan request</title>
<updated>2019-02-05T03:58:24+00:00</updated>
<author>
<name>nannaiah</name>
<email>nannaiah@nvidia.com</email>
</author>
<published>2019-01-16T18:49:15+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=7d015d5f8eb2de37805496cf74b4b1e7440d0615'/>
<id>7d015d5f8eb2de37805496cf74b4b1e7440d0615</id>
<content type='text'>
1.Reorganize wifi scan done to handle error and race conditions.
2.Schedule workqueue only after scan rules are filled.

NvTag: NvScan
NvFeature: Scan Policy

Bug 200467503

Change-Id: I49ee91d426f63e95e4f6ca6b24b16edfcd6f8ac2

Signed-off-by: Nagaraj Annaiah &lt;nannaiah@nvidia.com&gt;
Change-Id: I3f136fee04d05c3e03aec6bb5371a6de5284457a
Reviewed-on: https://git-master.nvidia.com/r/2005876
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1.Reorganize wifi scan done to handle error and race conditions.
2.Schedule workqueue only after scan rules are filled.

NvTag: NvScan
NvFeature: Scan Policy

Bug 200467503

Change-Id: I49ee91d426f63e95e4f6ca6b24b16edfcd6f8ac2

Signed-off-by: Nagaraj Annaiah &lt;nannaiah@nvidia.com&gt;
Change-Id: I3f136fee04d05c3e03aec6bb5371a6de5284457a
Reviewed-on: https://git-master.nvidia.com/r/2005876
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcmdhd: fix connection issue reconnecting to new bss</title>
<updated>2019-01-31T06:20:08+00:00</updated>
<author>
<name>Om Prakash Singh</name>
<email>omp@nvidia.com</email>
</author>
<published>2019-01-23T11:53:27+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=27e4ebe394f6592dc3951a81caae15ea9502bdb5'/>
<id>27e4ebe394f6592dc3951a81caae15ea9502bdb5</id>
<content type='text'>
Issue: wdev-&gt;ssid_len is becoming 0, resulting to invalid bss
    object in sme.c. Below is warning error

__cfg80211_connect_result+0x210/0x2a0 [cfg80211]
cfg80211_process_wdev_events+0x154/0x1c0 [cfg80211]
cfg80211_process_rdev_events+0x3c/0x80 [cfg80211]
cfg80211_event_work+0x24/0x38 [cfg80211]
process_one_work+0x1e0/0x478
worker_thread+0x58/0x4d0
kthread+0xfc/0x110
ret_from_fork+0x10/0x50

Fix: update wdev-&gt;ssid_len for new bss

Bug 200481846
Bug 200489760

Change-Id: If2213a3e99aa1e1ee490c60bed2e4a3af9454a76
Signed-off-by: Om Prakash Singh &lt;omp@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2007412
Reviewed-by: Ashutosh Jha &lt;ajha@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue: wdev-&gt;ssid_len is becoming 0, resulting to invalid bss
    object in sme.c. Below is warning error

__cfg80211_connect_result+0x210/0x2a0 [cfg80211]
cfg80211_process_wdev_events+0x154/0x1c0 [cfg80211]
cfg80211_process_rdev_events+0x3c/0x80 [cfg80211]
cfg80211_event_work+0x24/0x38 [cfg80211]
process_one_work+0x1e0/0x478
worker_thread+0x58/0x4d0
kthread+0xfc/0x110
ret_from_fork+0x10/0x50

Fix: update wdev-&gt;ssid_len for new bss

Bug 200481846
Bug 200489760

Change-Id: If2213a3e99aa1e1ee490c60bed2e4a3af9454a76
Signed-off-by: Om Prakash Singh &lt;omp@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2007412
Reviewed-by: Ashutosh Jha &lt;ajha@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcmdhd: fix disable roaming by default</title>
<updated>2019-01-31T06:19:50+00:00</updated>
<author>
<name>Om Prakash Singh</name>
<email>omp@nvidia.com</email>
</author>
<published>2019-01-24T05:00:20+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=e3c95c260d71b9e8c6d411e53366ddf7032c85d7'/>
<id>e3c95c260d71b9e8c6d411e53366ddf7032c85d7</id>
<content type='text'>
Issue: roaming is enabled even builtin_roam_disabled is set DT

Fix: update roam_off in dhd_preinit_ioctls based on builtin_roam_disabled
     value

Bug 1895940
Bug 2484421

Change-Id: I403a91df93e0d44169bd20f98a37bb0cb9c72aa9
Signed-off-by: Om Prakash Singh &lt;omp@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2002557
(cherry picked from commit af38a6a9da9de02ed1ee36a497ba7196aa4efbd7)
Reviewed-on: https://git-master.nvidia.com/r/2006273
Reviewed-by: Mohan Thadikamalla &lt;mohant@nvidia.com&gt;
Tested-by: Mohan Thadikamalla &lt;mohant@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane &lt;vpane@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue: roaming is enabled even builtin_roam_disabled is set DT

Fix: update roam_off in dhd_preinit_ioctls based on builtin_roam_disabled
     value

Bug 1895940
Bug 2484421

Change-Id: I403a91df93e0d44169bd20f98a37bb0cb9c72aa9
Signed-off-by: Om Prakash Singh &lt;omp@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2002557
(cherry picked from commit af38a6a9da9de02ed1ee36a497ba7196aa4efbd7)
Reviewed-on: https://git-master.nvidia.com/r/2006273
Reviewed-by: Mohan Thadikamalla &lt;mohant@nvidia.com&gt;
Tested-by: Mohan Thadikamalla &lt;mohant@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane &lt;vpane@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcmdhd: Handle scan error in scan policy</title>
<updated>2019-01-31T06:16:25+00:00</updated>
<author>
<name>nannaiah</name>
<email>nannaiah@nvidia.com</email>
</author>
<published>2019-01-10T08:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=27a779e2ea8ccc8a0617c093dce7530c5dda7f78'/>
<id>27a779e2ea8ccc8a0617c093dce7530c5dda7f78</id>
<content type='text'>
Issue: When interface is down the wl_cfg80211_scan function returns error
       and if not handled this causes consistent scan failures.

Fix: Add call to TEGRA_SCAN_DONE when scan function returns an error and
     clean up workqueue when active scan rules is zero.

Bug 200472884

Change-Id: I361ff6419743aef9df2d7680e7793806b2a82954
Signed-off-by: Nagaraj Annaiah &lt;nannaiah@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1990171
(cherry picked from commit 33d5eab52477c818ce88315dd7463c6376db3822)
Reviewed-on: https://git-master.nvidia.com/r/1997810
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Mohan Thadikamalla &lt;mohant@nvidia.com&gt;
Reviewed-by: Om Prakash Singh &lt;omp@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane &lt;vpane@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue: When interface is down the wl_cfg80211_scan function returns error
       and if not handled this causes consistent scan failures.

Fix: Add call to TEGRA_SCAN_DONE when scan function returns an error and
     clean up workqueue when active scan rules is zero.

Bug 200472884

Change-Id: I361ff6419743aef9df2d7680e7793806b2a82954
Signed-off-by: Nagaraj Annaiah &lt;nannaiah@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1990171
(cherry picked from commit 33d5eab52477c818ce88315dd7463c6376db3822)
Reviewed-on: https://git-master.nvidia.com/r/1997810
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Mohan Thadikamalla &lt;mohant@nvidia.com&gt;
Reviewed-by: Om Prakash Singh &lt;omp@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane &lt;vpane@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
