|
@@ -822,7 +822,7 @@ static void cs_set_control(struct zd_mac *mac, struct zd_ctrlset *cs,
|
|
cs->control |= ZD_CS_MULTICAST;
|
|
cs->control |= ZD_CS_MULTICAST;
|
|
|
|
|
|
/* PS-POLL */
|
|
/* PS-POLL */
|
|
- if (stype == IEEE80211_STYPE_PSPOLL)
|
|
|
|
|
|
+ if (ftype == IEEE80211_FTYPE_CTL && stype == IEEE80211_STYPE_PSPOLL)
|
|
cs->control |= ZD_CS_PS_POLL_FRAME;
|
|
cs->control |= ZD_CS_PS_POLL_FRAME;
|
|
|
|
|
|
/* Unicast data frames over the threshold should have RTS */
|
|
/* Unicast data frames over the threshold should have RTS */
|