cfg80211: use proper allocation flags
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 1 Jul 2009 19:26:47 +0000 (21:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:49 +0000 (15:01 -0400)
commite6d6e3420d511cd7552a95d1f04bd4c80a9ddb34
tree35f34c9ef8fe4c201da36ca819045995a93eeb44
parentdad823302135a2d99efd40e35d94a6ff14961c93
cfg80211: use proper allocation flags

Instead of hardcoding GFP_ATOMIC everywhere, add a
new function parameter that gets the flags from the
caller. Obviously then I need to update all callers
(all of them in mac80211), and it turns out that now
it's ok to use GFP_KERNEL in almost all places.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/mac80211/event.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/wpa.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h