mac80211: use PS Poll and Nullfunc templates when sending such frames
authorKalle Valo <kalle.valo@nokia.com>
Tue, 5 Jan 2010 18:16:26 +0000 (20:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 18:51:24 +0000 (13:51 -0500)
commitd8cd189e9b1e050629f545e76b21a321f62c29bf
tree66f684beedf3ae374488f0ec7240a8fb049c688d
parent7044cc565b45a898c140fb185174a66f2d68a163
mac80211: use PS Poll and Nullfunc templates when sending such frames

To avoid duplicate code, use ieee80211_[pspoll|nullfunc]_get() to get
templates for PS Poll and Nullfunc frames in mlme.c.

Compile-tested only.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c