Vladimir Kondratiev 970fdfa89b cfg80211: remove @gfp parameter from cfg80211_rx_mgmt()
In the cfg80211_rx_mgmt(), parameter @gfp was used for the memory allocation.
But, memory get allocated under spin_lock_bh(), this implies atomic context.
So, one can't use GFP_KERNEL, only variants with no __GFP_WAIT. Actually, in all
occurrences GFP_ATOMIC is used (wil6210 use GFP_KERNEL by mistake),
and it should be this way or warning triggered in the memory allocation code.

Remove @gfp parameter as no actual choice exist, and use hard coded
GFP_ATOMIC for memory allocation.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-08-26 11:15:58 +02:00
..
2013-12-18 10:33:06 +01:00
2013-12-18 10:33:06 +01:00
2014-04-09 10:55:30 +02:00
2014-04-09 14:49:43 +02:00
2014-06-25 09:10:43 +02:00
2014-07-21 12:14:04 +02:00
2014-06-23 11:05:23 +02:00
2014-07-21 16:04:27 +02:00
2013-12-16 11:29:48 +01:00
2014-04-29 17:59:27 +02:00
2014-04-29 17:59:27 +02:00
2014-04-09 14:49:43 +02:00
2014-06-23 11:05:23 +02:00
2014-06-25 09:10:43 +02:00
2013-12-18 10:33:06 +01:00
2012-06-24 11:33:18 +02:00
2014-07-21 12:14:04 +02:00
2014-06-23 11:05:31 +02:00
2012-03-13 14:54:16 -04:00
2012-06-20 17:35:22 +02:00