diff options
author | Henning Rogge <hrogge@gmail.com> | 2014-11-04 16:14:58 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-11-04 16:37:22 +0100 |
commit | 1ef4c850491e6598f81f578f62697f9c9c2facca (patch) | |
tree | ef0fbb357ba1cf64f55cacbe2eca9e9cc9b3e1e4 /net/wireless | |
parent | cf2c92d840c1424bcb3bb501147c79c9b067ad77 (diff) | |
download | op-kernel-dev-1ef4c850491e6598f81f578f62697f9c9c2facca.zip op-kernel-dev-1ef4c850491e6598f81f578f62697f9c9c2facca.tar.gz |
cfg80211: fix nl80211 cmd id in nl80211_send_mpath()
Netlink command for nl80211_send_mpath() should be NL80211_CMD_NEW_MPATH.
Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/nl80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 1a31736..24549cb 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -4453,7 +4453,7 @@ static int nl80211_send_mpath(struct sk_buff *msg, u32 portid, u32 seq, void *hdr; struct nlattr *pinfoattr; - hdr = nl80211hdr_put(msg, portid, seq, flags, NL80211_CMD_NEW_STATION); + hdr = nl80211hdr_put(msg, portid, seq, flags, NL80211_CMD_NEW_MPATH); if (!hdr) return -1; |