Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235735
b: refs/heads/master
c: a789325
h: refs/heads/master
i:
  235733: 6cef4a3
  235731: e7f6e0b
  235727: 5b4f953
v: v3
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Jan 31, 2011
1 parent aab7700 commit 004944a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d7ddd16933ca9f7957b6caed5b323f7f167faa60
refs/heads/master: a789325dc3aa89bb5001d26b542d7abc775b46f1
6 changes: 3 additions & 3 deletions trunk/drivers/staging/ath6kl/os/linux/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ ar6k_cfg80211_get_key(struct wiphy *wiphy, struct net_device *ndev,

static int
ar6k_cfg80211_set_default_key(struct wiphy *wiphy, struct net_device *ndev,
A_UINT8 key_index)
A_UINT8 key_index, bool unicast, bool multicast)
{
AR_SOFTC_T *ar = (AR_SOFTC_T *)ar6k_priv(ndev);
struct ar_key *key = NULL;
Expand Down Expand Up @@ -1201,7 +1201,7 @@ ar6k_cfg80211_set_power_mgmt(struct wiphy *wiphy,
return 0;
}

static int
static struct net_device *
ar6k_cfg80211_add_virtual_intf(struct wiphy *wiphy, char *name,
enum nl80211_iftype type, u32 *flags,
struct vif_params *params)
Expand All @@ -1212,7 +1212,7 @@ ar6k_cfg80211_add_virtual_intf(struct wiphy *wiphy, char *name,
/* Multiple virtual interface is not supported.
* The default interface supports STA and IBSS type
*/
return -EOPNOTSUPP;
return ERR_PTR(-EOPNOTSUPP);
}

static int
Expand Down

0 comments on commit 004944a

Please sign in to comment.