From dd979cc254c3aeec85927dbaad669d1ecd193c6f Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Tue, 1 Jul 2014 14:48:15 -0700 Subject: [PATCH] net: cfg80211: Fix wiphy_vendor_command 'doit' type Change-Id: I5b1732eed7ac4f6bc267b4baa2153f6de2e16dc8 Signed-off-by: Dmitry Shmidt --- include/net/cfg80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 2ebb168e5a5b..d9681a288ce6 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -2497,7 +2497,7 @@ struct wiphy_vendor_command { struct nl80211_vendor_cmd_info info; u32 flags; int (*doit)(struct wiphy *wiphy, struct wireless_dev *wdev, - void *data, int data_len); + const void *data, int data_len); }; /** -- 2.34.1