mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-25 08:02:38 +01:00
ap: check that the last band_freq_attrs was set
Static analysis complains that 'last' could be NULL which is true. This really could only happen if every frequency was disabled which likely is impossible but in any case, check before dereferencing the pointer.
This commit is contained in:
parent
83c032a583
commit
338577bb3a
Loading…
Reference in New Issue
Block a user