Files
mt76/mt7615
Colin Ian KingandFelix Fietkau fd2ff64116 mt76: mt7615: Fix a dereference of pointer sta before it is null checked
Currently the assignment of idx dereferences pointer sta before
sta is null checked, leading to a potential null pointer dereference.
Fix this by assigning idx when it is required after the null check on
pointer sta.

Addresses-Coverity: ("Dereference before null check")
Fixes: a4a5a430b076 ("mt76: mt7615: fix TSF configuration")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
2021-04-21 14:30:19 +02:00
..
2021-04-14 09:12:11 +02:00
2020-06-22 17:05:13 +02:00
2021-03-18 10:44:48 +01:00
2020-07-15 16:14:51 +02:00
2020-01-27 17:47:51 +01:00