Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[~shefty/rdma-dev.git] / drivers / net / wireless / orinoco / wext.c
index e5afabee60d1834b898193479cf710c3bb3eed22..e793679e2e190c9321d863512e0756fbaa17713b 100644 (file)
@@ -893,6 +893,14 @@ static int orinoco_ioctl_set_auth(struct net_device *dev,
                 */
                break;
 
+       case IW_AUTH_MFP:
+               /* Management Frame Protection not supported.
+                * Only fail if set to required.
+                */
+               if (param->value == IW_AUTH_MFP_REQUIRED)
+                       ret = -EINVAL;
+               break;
+
        case IW_AUTH_KEY_MGMT:
                /* wl_lkm implies value 2 == PSK for Hermes I
                 * which ties in with WEXT