diff options
-rw-r--r-- | drivers/net/wireless/hostap/hostap_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/hostap/hostap_main.c b/drivers/net/wireless/hostap/hostap_main.c index bfa0d54221e8..627bc12074c7 100644 --- a/drivers/net/wireless/hostap/hostap_main.c +++ b/drivers/net/wireless/hostap/hostap_main.c | |||
@@ -244,8 +244,7 @@ u16 hostap_tx_callback_register(local_info_t *local, | |||
244 | unsigned long flags; | 244 | unsigned long flags; |
245 | struct hostap_tx_callback_info *entry; | 245 | struct hostap_tx_callback_info *entry; |
246 | 246 | ||
247 | entry = kmalloc(sizeof(*entry), | 247 | entry = kmalloc(sizeof(*entry), GFP_KERNEL); |
248 | GFP_ATOMIC); | ||
249 | if (entry == NULL) | 248 | if (entry == NULL) |
250 | return 0; | 249 | return 0; |
251 | 250 | ||