diff options
author | David S. Miller <davem@davemloft.net> | 2010-09-02 19:45:44 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-02 19:45:44 (GMT) |
commit | 7162f6691e9d39d8d866574687cddb3f1ec65d72 (patch) | |
tree | c511679caf5c825ede4728870c513f92f4f1616b /net/mac80211/key.h | |
parent | 250e061e1d3e26600236a3dd9172e7f5f5916c00 (diff) | |
parent | 78ab952717b62c0ba6ca7f7a27eaa0486685e45f (diff) | |
download | linux-7162f6691e9d39d8d866574687cddb3f1ec65d72.tar.xz |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'net/mac80211/key.h')
-rw-r--r-- | net/mac80211/key.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/key.h b/net/mac80211/key.h index 53b5ce1..cb9a4a6 100644 --- a/net/mac80211/key.h +++ b/net/mac80211/key.h @@ -130,9 +130,9 @@ struct ieee80211_key *ieee80211_key_alloc(u32 cipher, int idx, size_t key_len, * Insert a key into data structures (sdata, sta if necessary) * to make it used, free old key. */ -void ieee80211_key_link(struct ieee80211_key *key, - struct ieee80211_sub_if_data *sdata, - struct sta_info *sta); +int __must_check ieee80211_key_link(struct ieee80211_key *key, + struct ieee80211_sub_if_data *sdata, + struct sta_info *sta); void ieee80211_key_free(struct ieee80211_local *local, struct ieee80211_key *key); void ieee80211_set_default_key(struct ieee80211_sub_if_data *sdata, int idx); |