staging: Remove a warning for drivers/staging/wlan-ng/cfg80211.c
authorHarry Wei <jiaweiwei.xiyou@gmail.com>
Thu, 28 Apr 2011 01:30:01 +0000 (09:30 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:52:00 +0000 (12:52 -0700)
Hi us,
   When i was compiling kernel, a warning happened to me.
The warning said like following.

drivers/staging/wlan-ng/cfg80211.c:709: warning: initialization from
incompatible pointer type.

See http://s1202.photobucket.com/albums/bb364/harrywei/?action=view&current=patched2.png
for more details.

So i patch like following.

Signed-off-by: Harry Wei <harryxiyou@gmail.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/cfg80211.c

index 6a71f52c59b1f0a575b8ba69aeac20a9fd2c733a..76378397b763355c059ace7b5fe6bdd09abaf80c 100644 (file)
@@ -273,7 +273,7 @@ exit:
 }
 
 int prism2_set_default_key(struct wiphy *wiphy, struct net_device *dev,
-                          u8 key_index)
+                          u8 key_index, bool unicast, bool multicast)
 {
        wlandevice_t *wlandev = dev->ml_priv;