Commit Graph
2 Commits
Author SHA1 Message Date
Mieczyslaw NalewajandFelix Fietkau 012e52ae38 wifi: mt76: use hrtimer_setup() in mt76x02u beacon init
Replace the two-step hrtimer initialization pattern with a single
consolidated call to hrtimer_setup().
The legacy approach of calling hrtimer_init() followed by manual
assignment to timer.function is deprecated. The new hrtimer_setup()
helper atomically initializes the timer and assigns the callback
function in one operation, eliminating the race-prone intermediate
state where the timer is initialized but lacks a handler.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
2026-05-04 08:36:55 +00:00
Mieczyslaw NalewajandFelix Fietkau a22d59e4ad tools: fix allocation check and missing memory freeing
Fixed allocation checking and freeing buffer memory
inside mt76_eeprom_changes() function.

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
2025-01-22 12:42:34 +01:00