mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-30 17:02:28 +00:00
rtw_cfgvendor: GFP_ATOMIC and GFP_KERNEL are of type u32
This commit is contained in:
parent
b3a4fa0b1b
commit
6ac6fc9530
@ -171,7 +171,7 @@ struct sk_buff *rtw_cfg80211_vendor_event_alloc(
|
|||||||
int rtw_cfgvendor_send_async_event(struct wiphy *wiphy,
|
int rtw_cfgvendor_send_async_event(struct wiphy *wiphy,
|
||||||
struct net_device *dev, int event_id, const void *data, int len)
|
struct net_device *dev, int event_id, const void *data, int len)
|
||||||
{
|
{
|
||||||
u16 kflags;
|
u32 kflags;
|
||||||
struct sk_buff *skb;
|
struct sk_buff *skb;
|
||||||
|
|
||||||
kflags = in_atomic() ? GFP_ATOMIC : GFP_KERNEL;
|
kflags = in_atomic() ? GFP_ATOMIC : GFP_KERNEL;
|
||||||
|
Loading…
Reference in New Issue
Block a user