net: ieee802154: stop dump llsec keys for monitors
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:42 +0000 (20:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Apr 2021 11:00:52 +0000 (13:00 +0200)
commitc09075df5e4da2a6d60b63d70aa8df6268205500
tree2da629dea9ad032c04cb81cef6cf84bfde2abbae
parent8b9485b651d4e62574ea22bff5ca898c5ab9f12c
net: ieee802154: stop dump llsec keys for monitors

[ Upstream commit fb3c5cdf88cd504ef11d59e8d656f4bc896c6922 ]

This patch stops dumping llsec keys for monitors which we don't support
yet. Otherwise we will access llsec mib which isn't initialized for
monitors.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20210405003054.256017-4-aahringo@redhat.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ieee802154/nl802154.c