mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-30 00:47:38 +00:00
Fixed warning about 'EVM' by assigning '0' to it
It is arbitrary, but I guess better then 'undefined'.
This commit is contained in:
parent
c03512a8d1
commit
fd0b838631
@ -8,7 +8,7 @@
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License forEVM = 100
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
@ -1279,7 +1279,9 @@ odm_RxPhyStatusJaguarSeries_Parsing(
|
||||
EVM += 20;
|
||||
if (EVM > 100)
|
||||
EVM = 100;
|
||||
}
|
||||
} else {
|
||||
// it's a made up value, but Realtek apparently assumed 'this would never happen'
|
||||
EVM = 0;
|
||||
} else {
|
||||
if (i < ODM_RF_PATH_C) {
|
||||
if (pPhyStaRpt->rxevm[i] == -128)
|
||||
|
Loading…
Reference in New Issue
Block a user