mac80211: fix connection polling
authorEliad Peller <eliad@wizery.com>
Mon, 18 Nov 2013 17:06:46 +0000 (19:06 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 15:50:14 +0000 (16:50 +0100)
commit12b5f34d2d5934e998975bbae4e29f81d94052f6
treeef54568f79d15e10efd0f2b28dcd27eeeb3e3f08
parentcdb1b8057a44bbda67d403000a26be00de1d2326
mac80211: fix connection polling

Commit 392b9ff ("mac80211: change beacon/connection polling")
removed the IEEE80211_STA_BEACON_POLL flag.

However, it accidentally removed the setting of
IEEE80211_STA_CONNECTION_POLL, making the connection polling
completely useless (the flag is always clear, so the result
is never being checked). Fix it.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c