Skip to content

Commit

Permalink
rtw_cfgvendor: GFP_ATOMIC and GFP_KERNEL are of type u32
Browse files Browse the repository at this point in the history
  • Loading branch information
kimocoder committed Feb 1, 2020
1 parent b3a4fa0 commit 6ac6fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_dep/linux/rtw_cfgvendor.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ struct sk_buff *rtw_cfg80211_vendor_event_alloc(
int rtw_cfgvendor_send_async_event(struct wiphy *wiphy,
struct net_device *dev, int event_id, const void *data, int len)
{
u16 kflags;
u32 kflags;
struct sk_buff *skb;

kflags = in_atomic() ? GFP_ATOMIC : GFP_KERNEL;
Expand Down

0 comments on commit 6ac6fc9

Please sign in to comment.