Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263911
b: refs/heads/master
c: bac2555
h: refs/heads/master
i:
  263909: bc5f579
  263907: 596ba7a
  263903: 2a16ce6
v: v3
  • Loading branch information
George authored and John W. Linville committed Sep 13, 2011
1 parent 7f83658 commit 785321b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3401dc6eba788ebc7c14ce51018d775b1c263399
refs/heads/master: bac2555c6d86387132930af4d14cb47c4dd3f4f7
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/rtlwifi/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,11 @@ static void rtl_op_bss_info_changed(struct ieee80211_hw *hw,

mac->link_state = MAC80211_NOLINK;
memset(mac->bssid, 0, 6);

/* reset sec info */
rtl_cam_reset_sec_info(hw);

rtl_cam_reset_all_entry(hw);
mac->vendor = PEER_UNKNOWN;

RT_TRACE(rtlpriv, COMP_MAC80211, DBG_DMESG,
Expand Down Expand Up @@ -1063,6 +1068,9 @@ static int rtl_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
*or clear all entry here.
*/
rtl_cam_delete_one_entry(hw, mac_addr, key_idx);

rtl_cam_reset_sec_info(hw);

break;
default:
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
Expand Down

0 comments on commit 785321b

Please sign in to comment.