OSDN Git Service

wifi: cfg80211: fix link del callback to call correct handler
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 8 Jun 2023 13:36:01 +0000 (16:36 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Jun 2023 11:30:16 +0000 (13:30 +0200)
commit1ff56684fa8682bdfbbce4e12cf67ab23cb1db05
tree83d483bfc8a92996f6b6d45053e524110932fc89
parent01605ad6c3e8608d7e147c9b75d67eb8a3d27d88
wifi: cfg80211: fix link del callback to call correct handler

The wrapper function was incorrectly calling the add handler instead of
the del handler. This had no negative side effect as the default
handlers are essentially identical.

Fixes: f2a0290b2df2 ("wifi: cfg80211: add optional link add/remove callbacks")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230608163202.ebd00e000459.Iaff7dc8d1cdecf77f53ea47a0e5080caa36ea02a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/rdev-ops.h