]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe759420bd0a105fe49054a6634d364761d10df7
tree66f684beedf3ae374488f0ec7240a8fb049c688d
parentac52c9cf1daa6076148cc44e1311168efcef883f
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