]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix beacon interval value
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 12 Jun 2008 19:38:37 +0000 (22:38 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 14 Jun 2008 16:18:11 +0000 (12:18 -0400)
commitb248646183ed18e3445acd544baed5d38ecc45ee
treecb13bf8b058797a290fb4b41e09acf783d1b7c78
parentb19357873d03306c55c9cf754ab98dddccc8a48a
mac80211: fix beacon interval value

This patch fixes setting beacon interval

1. in register_hw it honors value requested by the driver
2. It uses default 100 instead of 1000 or 10000. Scanning for beacon
interval ~1sec and above is not sane

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c
net/mac80211/mlme.c