|
@@ -1145,19 +1145,15 @@ static void ap_sta_ps_start(struct sta_info *sta)
|
|
|
|
|
|
static void ap_sta_ps_end(struct sta_info *sta)
|
|
|
{
|
|
|
- struct ieee80211_sub_if_data *sdata = sta->sdata;
|
|
|
-
|
|
|
- atomic_dec(&sdata->bss->num_sta_ps);
|
|
|
-
|
|
|
#ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG
|
|
|
printk(KERN_DEBUG "%s: STA %pM aid %d exits power save mode\n",
|
|
|
- sdata->name, sta->sta.addr, sta->sta.aid);
|
|
|
+ sta->sdata->name, sta->sta.addr, sta->sta.aid);
|
|
|
#endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */
|
|
|
|
|
|
if (test_sta_flag(sta, WLAN_STA_PS_DRIVER)) {
|
|
|
#ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG
|
|
|
printk(KERN_DEBUG "%s: STA %pM aid %d driver-ps-blocked\n",
|
|
|
- sdata->name, sta->sta.addr, sta->sta.aid);
|
|
|
+ sta->sdata->name, sta->sta.addr, sta->sta.aid);
|
|
|
#endif /* CONFIG_MAC80211_VERBOSE_PS_DEBUG */
|
|
|
return;
|
|
|
}
|