Use legacy NL80211 STA events for older drivers

This allows tethering on devices with older bcmdhd
drivers to be fixed.  It conditionally reverts
b638fe75d3cb9d21c67386173f10afe65053cc4d
"nl80211: Use native cfg80211 sta events" for these
boards.

Use BOARD_LEGACY_NL80211_STA_EVENTS to enable
this conditional revert.

Forward-port to JB MR1, squashed in Steve Kondik's commit
to handle additional changes.

Change-Id: I4e436c57819944515455725cfd7ac7eeb31552ca
wext: Re-add support for SIGNAL_POLL and DRIVER

Both of these are still used by JB, and wext wifi drivers have some
weird behaviors without it (like a reported poor connection 100% of
the time)

Change-Id: I15339dbea4e15831465e2bb52b11675cb20dc34c
hostapd: Fix aliasing violation

Change-Id: I1661f1e50959165542aed00374467715dc26d847
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
nl80211: add ifndef on AP SME condition

The condition causes problems on driver initialization if the
NL80211_ATTR_DEVICE_AP_SME is not available. Needs
BOARD_NO_APSME_ATTR:=true.

Change-Id: I88e91996d8e6a70f46a5a84d6540bf3d3b628ddd
Merge remote-tracking branch 'origin/cm-10.1' into cm-10.1-linaro
Fix regression in LEAP

Commit 458cb3019108b6cb8c0c1cab94ae6ebf244eda27 broke LEAP since it
rejects EAP-Success packet that is used within LEAP and this frame does
not have a payload. Fix LEAP by relaxing the generic EAP packet
validation if LEAP has been negotiated.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Merge remote-tracking branch 'origin/cm-10.1' into cm-10.1-linaro
enable CONFIG_PCSC

try to fix #5203
http://code.google.com/p/cyanogenmod/issues/detail?id=5203

As said in the file, we need config_pcsc if config_eap_sim is enable.
Revert "enable CONFIG_PCSC"

This reverts commit d04091d01db0ddfb13e0c1279e232bf9c3365cfb.
Merge remote-tracking branch 'origin/cm-10.1' into cm-10.1-linaro