diff options
Diffstat (limited to 'net/mac80211/key.c')
| -rw-r--r-- | net/mac80211/key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/key.c b/net/mac80211/key.c index 620677e897bd..3e51dd7d98b3 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c | |||
| @@ -879,7 +879,7 @@ ieee80211_gtk_rekey_add(struct ieee80211_vif *vif, | |||
| 879 | keyconf->keylen, keyconf->key, | 879 | keyconf->keylen, keyconf->key, |
| 880 | 0, NULL); | 880 | 0, NULL); |
| 881 | if (IS_ERR(key)) | 881 | if (IS_ERR(key)) |
| 882 | return ERR_PTR(PTR_ERR(key)); | 882 | return ERR_CAST(key); |
| 883 | 883 | ||
| 884 | if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) | 884 | if (sdata->u.mgd.mfp != IEEE80211_MFP_DISABLED) |
| 885 | key->conf.flags |= IEEE80211_KEY_FLAG_RX_MGMT; | 885 | key->conf.flags |= IEEE80211_KEY_FLAG_RX_MGMT; |
