Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203791
b: refs/heads/master
c: 6abbe55
h: refs/heads/master
i:
  203789: 4ea51c2
  203787: 6b03ea3
  203783: c35819e
  203775: 2250b59
v: v3
  • Loading branch information
Johannes Berg authored and Wey-Yi Guy committed Jul 23, 2010
1 parent 456a305 commit 37a2548
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 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: c6fa17ed3fadaf056173c409c0877df428a152ec
refs/heads/master: 6abbe554bab8ab908b3963577e14dc2e716fd485
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,7 @@ static u32 iwl_fill_beacon_frame(struct iwl_priv *priv,
struct ieee80211_hdr *hdr,
int left)
{
if (!iwl_is_associated(priv) || !priv->ibss_beacon ||
((priv->iw_mode != NL80211_IFTYPE_ADHOC) &&
(priv->iw_mode != NL80211_IFTYPE_AP)))
if (!priv->ibss_beacon)
return 0;

if (priv->ibss_beacon->len > left)
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,7 @@ unsigned int iwl3945_fill_beacon_frame(struct iwl_priv *priv,
int left)
{

if (!iwl_is_associated(priv) || !priv->ibss_beacon ||
((priv->iw_mode != NL80211_IFTYPE_ADHOC) &&
(priv->iw_mode != NL80211_IFTYPE_AP)))
if (!iwl_is_associated(priv) || !priv->ibss_beacon)
return 0;

if (priv->ibss_beacon->len > left)
Expand Down

0 comments on commit 37a2548

Please sign in to comment.