treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / staging / wfx / key.h
blob9436ccdf4d3b0a3d77f79dea5f6cc5379fb1acf7
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Implementation of mac80211 API.
5 * Copyright (c) 2017-2019, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
7 */
8 #ifndef WFX_KEY_H
9 #define WFX_KEY_H
11 #include <net/mac80211.h>
13 struct wfx_dev;
14 struct wfx_vif;
16 int wfx_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
17 struct ieee80211_vif *vif, struct ieee80211_sta *sta,
18 struct ieee80211_key_conf *key);
19 int wfx_upload_keys(struct wfx_vif *wvif);
20 void wfx_wep_key_work(struct work_struct *work);
22 #endif /* WFX_STA_H */