net: cfg80211: Fix wiphy_vendor_command 'doit' type
authorDmitry Shmidt <dimitrysh@google.com>
Tue, 1 Jul 2014 21:48:15 +0000 (14:48 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Tue, 1 Jul 2014 21:48:15 +0000 (14:48 -0700)
Change-Id: I5b1732eed7ac4f6bc267b4baa2153f6de2e16dc8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
include/net/cfg80211.h

index 2ebb168e5a5be01804a21905d33256062eb44307..d9681a288ce6bc7b83b491a9dbf2523f0783dd09 100644 (file)
@@ -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);
 };
 
 /**