path: root/src/utils
diff options
authorDarshan Paranji Sri <dparanji@qti.qualcomm.com>2014-06-03 09:48:05 (GMT)
committerJouni Malinen <j@w1.fi>2014-06-03 10:59:22 (GMT)
commit95b6bca66de9dc0a2ddd9164ec052a7d5f58804b (patch)
tree4d682f543c374a932ad868edb2fecd4475b582aa /src/utils
parentb246e2af79af60ef298e3a4d1914f6e36171ee7e (diff)
Add rsn_pairwise bits to set_ieee8021x() driver_ops
This fixes an issue where a driver using the deprecated set_ieee8021x() callback did not include rsn_pairwise bits in the driver configuration even if mixed WPA+WPA2 configuration was used. This could result, e.g., in CCMP not being enabled properly when wpa_pairwise=TKIP and rsn_pairwise=CCMP was used in the configuration. Fix this by using bitwise OR of the wpa_pairwise and rsn_pairwise values to allow the driver to enable all pairwise ciphers. In addition, make the newer set_ap() driver_ops use the same bitwise OR design instead of picking between rsn_pairwise and wpa_pairwise. This makes the code paths consistent and can also fix issues with mixed mode configuration with set_ap(). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/utils')
0 files changed, 0 insertions, 0 deletions