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)
commitdc0ae30c31ee6ef83992bb692f37dfbba08a2ef6
treecb13bf8b058797a290fb4b41e09acf783d1b7c78
parent5720508d9ad9a82927875252b7a19ba2b45f11f8
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