staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context
authorAdham Abozaeid <adham.abozaeid@microchip.com>
Tue, 16 Apr 2019 23:17:07 +0000 (23:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2019 10:40:51 +0000 (12:40 +0200)
commit2e299cc96952ab5709e809947a6a4ac66f60fdaf
tree1f965c95eb250ba8d426347564017afba06d6d5d
parent6229fed9ee85f38126ebb0818ada55dddcf9f97a
staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context

txq_add_mgmt_pkt allocates memory while being called from atomic context
so needs to use GFP_ATOMIC

Signed-off-by: Adham Abozaeid <adham.abozaeid@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c