zd1211rw: only update HW beacon if new beacon differs from currect
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Mon, 20 Jun 2011 11:42:39 +0000 (14:42 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Jun 2011 20:09:46 +0000 (16:09 -0400)
commitf762d8c3f8b502b93d20bd755fc30ce99d3d0abd
treeed0826a8cf58a0261247574d8ae301154eb06490
parentb405e1b83dc2bb662c4be2612674a8d0ef900e26
zd1211rw: only update HW beacon if new beacon differs from currect

Update HW beacon only when needed. This appears to make device work in AP-mode
(dtim_period=1) somewhat more stable.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_mac.c
drivers/net/wireless/zd1211rw/zd_mac.h