]> git.baikalelectronics.ru Git - kernel.git/commit
mac8211: fix struct initialisation
authorJohn Crispin <john@phrozen.org>
Mon, 3 Aug 2020 08:45:40 +0000 (10:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 3 Aug 2020 08:55:17 +0000 (10:55 +0200)
commitaa62884d618a02d5cc1fee16dfcb592a0fcd936c
tree75d5006595730abe04d57c45310466fdad9a89a0
parent2074365f8075c67ceb7c3c8a5539d761ae8b9f03
mac8211: fix struct initialisation

Sparse showed up with the following error.
net/mac80211/agg-rx.c:480:43: warning: Using plain integer as NULL pointer

Fixes: 92fb42b99e9a (mac80211: add support for the ADDBA extension element)
Signed-off-by: John Crispin <john@phrozen.org>
Link: https://lore.kernel.org/r/20200803084540.179908-1-john@phrozen.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-rx.c