Darshan Paranji Sri 95b6bca66d 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>
2014-06-03 13:59:22 +03:00
..
2013-12-24 08:22:37 +02:00
2014-03-25 13:12:29 +02:00
2013-12-07 20:50:15 -08:00
2014-03-15 09:57:10 +02:00
2013-12-24 22:59:52 +02:00
2014-04-17 17:12:52 +03:00
2014-03-15 09:57:10 +02:00
2013-12-24 22:59:52 +02:00
2013-12-24 22:59:52 +02:00
2013-12-29 17:18:17 +02:00